Enum Class BridgeOutputValue
- All Implemented Interfaces:
Serializable, Comparable<BridgeOutputValue>, Constable
The applied output of the bridge.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionActive braking.Braking.Coasting.Fault braking.Fault coasting.Driving with FOC duty cycle/voltage control.Driving with FOC torque control.Playing music.Driving with non-FOC duty cycle/voltage control.Variable braking. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BridgeOutputValuevalueOf(int value) Gets BridgeOutputValue from specified valuestatic BridgeOutputValueReturns the enum constant of this class with the specified name.static BridgeOutputValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BridgeReq_Coast
Coasting. -
BridgeReq_Brake
Braking. -
BridgeReq_Trapez
Driving with non-FOC duty cycle/voltage control. -
BridgeReq_FOCTorque
Driving with FOC torque control. -
BridgeReq_MusicTone
Playing music. -
BridgeReq_FOCEasy
Driving with FOC duty cycle/voltage control. -
BridgeReq_FaultBrake
Fault braking. -
BridgeReq_FaultCoast
Fault coasting. -
BridgeReq_ActiveBrake
Active braking. -
BridgeReq_VariableBrake
Variable braking.
-
-
Field Details
-
value
public final int valueUnique integer value of this BridgeOutputValue.
-
-
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 BridgeOutputValue from specified value- Parameters:
value- Value of BridgeOutputValue- Returns:
- BridgeOutputValue of specified value
-