Faults available to CANdle (Currently has none)
More...
#include <ctre/phoenix/led/CANdleFaults.h>
Faults available to CANdle (Currently has none)
◆ CANdleFaults() [1/2]
ctre::phoenix::led::CANdleFaults::CANdleFaults |
( |
int |
bits | ) |
|
|
inline |
Updates current fault list with specified bit field of faults.
- Parameters
-
bits | bit field of faults to update with |
◆ CANdleFaults() [2/2]
ctre::phoenix::led::CANdleFaults::CANdleFaults |
( |
| ) |
|
|
inline |
◆ HasAnyFault()
bool ctre::phoenix::led::CANdleFaults::HasAnyFault |
( |
| ) |
const |
|
inline |
- Returns
- true if any faults are tripped
◆ ToBitfield()
int ctre::phoenix::led::CANdleFaults::ToBitfield |
( |
| ) |
const |
|
inline |
- Returns
- Current fault list as a bit field
◆ Update()
void ctre::phoenix::led::CANdleFaults::Update |
( |
uint64_t |
bits | ) |
|
|
inline |
◆ APIError
bool ctre::phoenix::led::CANdleFaults::APIError |
API error detected.
Make sure API and firmware versions are compatible.
◆ BootDuringEnable
bool ctre::phoenix::led::CANdleFaults::BootDuringEnable |
Boot while receiving an enable frame.
◆ HardwareFault
bool ctre::phoenix::led::CANdleFaults::HardwareFault |
Device detects hardware failure.
◆ ShortCircuit
bool ctre::phoenix::led::CANdleFaults::ShortCircuit |
Output pin is shorted to something.
◆ SoftwareFuse
bool ctre::phoenix::led::CANdleFaults::SoftwareFuse |
Exceeded output current of 6 amps.
◆ ThermalFault
bool ctre::phoenix::led::CANdleFaults::ThermalFault |
Device is over temperature.
◆ V5TooHigh
bool ctre::phoenix::led::CANdleFaults::V5TooHigh |
◆ V5TooLow
bool ctre::phoenix::led::CANdleFaults::V5TooLow |
◆ VBatTooHigh
bool ctre::phoenix::led::CANdleFaults::VBatTooHigh |
◆ VBatTooLow
bool ctre::phoenix::led::CANdleFaults::VBatTooLow |
The documentation for this struct was generated from the following file: