Sticky Faults for CANifier (Currently has none)
More...
#include <ctre/phoenix/CANifierStickyFaults.h>
Sticky Faults for CANifier (Currently has none)
◆ CANifierStickyFaults() [1/2]
ctre::phoenix::CANifierStickyFaults::CANifierStickyFaults |
( |
int |
bits | ) |
|
|
inline |
Updates current fault list with specified bit field of faults.
- Parameters
-
bits | bit field of faults to update with |
◆ CANifierStickyFaults() [2/2]
ctre::phoenix::CANifierStickyFaults::CANifierStickyFaults |
( |
| ) |
|
|
inline |
◆ HasAnyFault()
bool ctre::phoenix::CANifierStickyFaults::HasAnyFault |
( |
| ) |
const |
|
inline |
- Returns
- true if any faults are tripped
◆ ToBitfield()
int ctre::phoenix::CANifierStickyFaults::ToBitfield |
( |
| ) |
const |
|
inline |
- Returns
- Current fault list as a bit field
The documentation for this struct was generated from the following file: