State of the Signal 2 input (S2IN).
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | Floating = 0 |
| Input is not driven high or low, it is disconnected from load.
|
|
static constexpr int | Low = 1 |
| Input is driven low (below 0.5V).
|
|
static constexpr int | High = 2 |
| Input is driven high (above 3V).
|
|
State of the Signal 2 input (S2IN).
◆ S2StateValue() [1/2]
ctre::phoenix6::signals::S2StateValue::S2StateValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ S2StateValue() [2/2]
ctre::phoenix6::signals::S2StateValue::S2StateValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::S2StateValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::S2StateValue::operator!= |
( |
S2StateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
bool ctre::phoenix6::signals::S2StateValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
bool ctre::phoenix6::signals::S2StateValue::operator< |
( |
S2StateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
bool ctre::phoenix6::signals::S2StateValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
bool ctre::phoenix6::signals::S2StateValue::operator== |
( |
S2StateValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::S2StateValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::S2StateValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
S2StateValue | data ) |
|
friend |
◆ Floating
int ctre::phoenix6::signals::S2StateValue::Floating = 0 |
|
staticconstexpr |
Input is not driven high or low, it is disconnected from load.
◆ High
int ctre::phoenix6::signals::S2StateValue::High = 2 |
|
staticconstexpr |
Input is driven high (above 3V).
◆ Low
int ctre::phoenix6::signals::S2StateValue::Low = 1 |
|
staticconstexpr |
Input is driven low (below 0.5V).
◆ value
int ctre::phoenix6::signals::S2StateValue::value |
The documentation for this class was generated from the following file: