Package com.ctre.phoenix6.signals
Enum Class VBatOutputModeValue
- All Implemented Interfaces:
Serializable,Comparable<VBatOutputModeValue>,java.lang.constant.Constable
The behavior of the VBat output. CANdle supports modulating VBat output for
single-color LED strips.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic VBatOutputModeValuevalueOf(int value) Gets VBatOutputModeValue from specified valuestatic VBatOutputModeValueReturns the enum constant of this class with the specified name.static VBatOutputModeValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
On
VBat output is on at full power. -
Off
VBat output is off. -
Modulated
VBat output is on at the specified modulation.
-
-
Field Details
-
value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Gets VBatOutputModeValue from specified value- Parameters:
value- Value of VBatOutputModeValue- Returns:
- VBatOutputModeValue of specified value
-