Package com.ctre.phoenix.led
Enum CANdleStatusFrame
- All Implemented Interfaces:
Serializable
,Comparable<CANdleStatusFrame>
,java.lang.constant.Constable
public enum CANdleStatusFrame extends Enum<CANdleStatusFrame>
The various status frames from CANdle
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CANdleStatusFrame_Status_1_General
General status frame Includes: - Battery Voltage - Current Measurement - Temperature - Faults - Sticky FaultsCANdleStatusFrame_Status_2_Startup
Startup frame, this is only sent out onceCANdleStatusFrame_Status_3_FirmwareApiStatus
Firmware status, this is sent until API gets it, then no longer sends again.CANdleStatusFrame_Status_4_ControlTelem
Status frame regarding LED control.CANdleStatusFrame_Status_5_PixelPulseTrain
Status frame regarding Neopixel generation.CANdleStatusFrame_Status_6_BottomPixels
The bottom 4 pixels' state.CANdleStatusFrame_Status_7_TopPixels
The top 4 pixels' state. -
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
Modifier and Type Method Description static CANdleStatusFrame
valueOf(String name)
Returns the enum constant of this type with the specified name.static CANdleStatusFrame[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CANdleStatusFrame_Status_1_General
General status frame Includes: - Battery Voltage - Current Measurement - Temperature - Faults - Sticky Faults -
CANdleStatusFrame_Status_2_Startup
Startup frame, this is only sent out once -
CANdleStatusFrame_Status_3_FirmwareApiStatus
Firmware status, this is sent until API gets it, then no longer sends again. -
CANdleStatusFrame_Status_4_ControlTelem
Status frame regarding LED control. Is not used in API. -
CANdleStatusFrame_Status_5_PixelPulseTrain
Status frame regarding Neopixel generation. Is not used in API. -
CANdleStatusFrame_Status_6_BottomPixels
The bottom 4 pixels' state. Is not used in API. -
CANdleStatusFrame_Status_7_TopPixels
The top 4 pixels' state. Is not used in API.
-
-
Field Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-