The floating state of the Signal 1 input (S1IN).
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | FloatDetect = 0 |
| The input will attempt to detect when it is floating.
|
|
static constexpr int | PullHigh = 1 |
| The input will be pulled high when not loaded by an outside device.
|
|
static constexpr int | PullLow = 2 |
| The input will be pulled low when not loaded by an outside device.
|
|
static constexpr int | BusKeeper = 3 |
| The input will pull in the direction of the last measured state.
|
|
The floating state of the Signal 1 input (S1IN).
◆ S1FloatStateValue() [1/2]
ctre::phoenix6::signals::S1FloatStateValue::S1FloatStateValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ S1FloatStateValue() [2/2]
ctre::phoenix6::signals::S1FloatStateValue::S1FloatStateValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator!= |
( |
S1FloatStateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator< |
( |
S1FloatStateValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
bool ctre::phoenix6::signals::S1FloatStateValue::operator== |
( |
S1FloatStateValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::S1FloatStateValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::S1FloatStateValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ BusKeeper
int ctre::phoenix6::signals::S1FloatStateValue::BusKeeper = 3 |
|
staticconstexpr |
The input will pull in the direction of the last measured state.
This may be useful for devices that can enter into a high-Z tri-state.
◆ FloatDetect
int ctre::phoenix6::signals::S1FloatStateValue::FloatDetect = 0 |
|
staticconstexpr |
The input will attempt to detect when it is floating.
This is enabled by default.
◆ PullHigh
int ctre::phoenix6::signals::S1FloatStateValue::PullHigh = 1 |
|
staticconstexpr |
The input will be pulled high when not loaded by an outside device.
This is useful for NPN-style devices.
◆ PullLow
int ctre::phoenix6::signals::S1FloatStateValue::PullLow = 2 |
|
staticconstexpr |
The input will be pulled low when not loaded by an outside device.
This is useful for PNP-style devices.
◆ value
int ctre::phoenix6::signals::S1FloatStateValue::value |
The documentation for this class was generated from the following file: