Faults available to CANdle.
More...
#include <ctre/phoenix/led/CANdleFaults.h>
Faults available to CANdle.
- Deprecated
- This device's Phoenix 5 API is deprecated for removal in the 2027 season. Users should update to Phoenix 6 firmware and migrate to the Phoenix 6 API. A migration guide is available at https://v6.docs.ctr-electronics.com/en/stable/docs/migration/migration-guide/index.html.
If the Phoenix 5 API must be used for this device, the device must have 22.X firmware. This firmware is available in Tuner X after selecting Phoenix 5 in the firmware year dropdown.
◆ 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: