Package com.ctre.phoenix.led
Class CANdleFaults
java.lang.Object
com.ctre.phoenix.led.CANdleFaults
Deprecated, for removal: This API element is subject to removal in a future version.
Faults the CANdle can have
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.API error detected.booleanDeprecated, for removal: This API element is subject to removal in a future version.Boot while receiving an enable framebooleanDeprecated, for removal: This API element is subject to removal in a future version.Device detects hardware failurebooleanDeprecated, for removal: This API element is subject to removal in a future version.Output pin is shorted to somethingbooleanDeprecated, for removal: This API element is subject to removal in a future version.Exceeded output current of 6 ampsbooleanDeprecated, for removal: This API element is subject to removal in a future version.Device is over temperaturebooleanDeprecated, for removal: This API element is subject to removal in a future version.5V Line is over 6VbooleanDeprecated, for removal: This API element is subject to removal in a future version.5V Line is under 4 VbooleanDeprecated, for removal: This API element is subject to removal in a future version.VBat is over 30VbooleanDeprecated, for removal: This API element is subject to removal in a future version.VBat is under 5V -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.CANdleFaults(int bits) Deprecated, for removal: This API element is subject to removal in a future version.Updates current fault list with specified bit field of faults -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.voidupdate(long bits) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
HardwareFault
Deprecated, for removal: This API element is subject to removal in a future version.Device detects hardware failure -
APIError
Deprecated, for removal: This API element is subject to removal in a future version.API error detected. Make sure API and firmware versions are compatible. -
BootDuringEnable
Deprecated, for removal: This API element is subject to removal in a future version.Boot while receiving an enable frame -
VBatTooLow
Deprecated, for removal: This API element is subject to removal in a future version.VBat is under 5V -
VBatTooHigh
Deprecated, for removal: This API element is subject to removal in a future version.VBat is over 30V -
V5TooLow
Deprecated, for removal: This API element is subject to removal in a future version.5V Line is under 4 V -
V5TooHigh
Deprecated, for removal: This API element is subject to removal in a future version.5V Line is over 6V -
SoftwareFuse
Deprecated, for removal: This API element is subject to removal in a future version.Exceeded output current of 6 amps -
ThermalFault
Deprecated, for removal: This API element is subject to removal in a future version.Device is over temperature -
ShortCircuit
Deprecated, for removal: This API element is subject to removal in a future version.Output pin is shorted to something
-
-
Constructor Details
-
CANdleFaults
Deprecated, for removal: This API element is subject to removal in a future version.Updates current fault list with specified bit field of faults- Parameters:
bits- bit field of faults to update with
-
CANdleFaults
public CANdleFaults()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
hasAnyFault
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- true if any faults are tripped
-
toBitfield
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Current fault list as a bit field
-
update
Deprecated, for removal: This API element is subject to removal in a future version.
-
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.