Whether the 5V rail is enabled. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
constexpr | Enable5VRailValue (int value) |
constexpr | Enable5VRailValue () |
constexpr bool | operator== (Enable5VRailValue data) const |
constexpr bool | operator== (int data) const |
constexpr bool | operator!= (Enable5VRailValue data) const |
constexpr bool | operator!= (int data) const |
constexpr bool | operator< (Enable5VRailValue data) const |
constexpr bool | operator< (int data) const |
std::string | ToString () const |
Gets the string representation of this enum. | |
std::string | Serialize () const |
![]() |
Public Attributes | |
int | value |
Static Public Attributes | |
static constexpr int | Enabled = 0 |
The 5V rail is enabled, allowing for LED control. | |
static constexpr int | Disabled = 1 |
The 5V rail is disabled. | |
Friends | |
std::ostream & | operator<< (std::ostream &os, Enable5VRailValue data) |
Whether the 5V rail is enabled.
Disabling the 5V rail will also turn off the onboard LEDs.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinevirtual |
Implements ctre::phoenix6::ISerializable.
|
inline |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
The 5V rail is disabled.
This will also turn off the onboard LEDs.
|
staticconstexpr |
The 5V rail is enabled, allowing for LED control.
int ctre::phoenix6::signals::Enable5VRailValue::value |