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