What value the Signal 1 input (S1IN) needs to be for the CANdi to detect as Closed.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | CloseWhenNotFloating = 0 |
| The S1 input will be treated as closed when it is not floating.
|
|
static constexpr int | CloseWhenFloating = 1 |
| The S1 input will be treated as closed when it is floating.
|
|
static constexpr int | CloseWhenNotHigh = 2 |
| The S1 input will be treated as closed when it is not High.
|
|
static constexpr int | CloseWhenHigh = 3 |
| The S1 input will be treated as closed when it is High.
|
|
static constexpr int | CloseWhenNotLow = 4 |
| The S1 input will be treated as closed when it is not Low.
|
|
static constexpr int | CloseWhenLow = 5 |
| The S1 input will be treated as closed when it is Low.
|
|
What value the Signal 1 input (S1IN) needs to be for the CANdi to detect as Closed.
Devices using the S1 input as a remote limit switch will treat the switch as closed when the S1 input is this state.
◆ S1CloseStateValue() [1/2]
ctre::phoenix6::signals::S1CloseStateValue::S1CloseStateValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ S1CloseStateValue() [2/2]
ctre::phoenix6::signals::S1CloseStateValue::S1CloseStateValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator!= |
( |
S1CloseStateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator< |
( |
S1CloseStateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
bool ctre::phoenix6::signals::S1CloseStateValue::operator== |
( |
S1CloseStateValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::S1CloseStateValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::S1CloseStateValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ CloseWhenFloating
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenFloating = 1 |
|
staticconstexpr |
The S1 input will be treated as closed when it is floating.
◆ CloseWhenHigh
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenHigh = 3 |
|
staticconstexpr |
The S1 input will be treated as closed when it is High.
◆ CloseWhenLow
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenLow = 5 |
|
staticconstexpr |
The S1 input will be treated as closed when it is Low.
◆ CloseWhenNotFloating
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenNotFloating = 0 |
|
staticconstexpr |
The S1 input will be treated as closed when it is not floating.
◆ CloseWhenNotHigh
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenNotHigh = 2 |
|
staticconstexpr |
The S1 input will be treated as closed when it is not High.
◆ CloseWhenNotLow
int ctre::phoenix6::signals::S1CloseStateValue::CloseWhenNotLow = 4 |
|
staticconstexpr |
The S1 input will be treated as closed when it is not Low.
◆ value
int ctre::phoenix6::signals::S1CloseStateValue::value |
The documentation for this class was generated from the following file: