public static enum LynxNack.StandardReasonCode extends java.lang.Enum<LynxNack.StandardReasonCode> implements LynxNack.ReasonCode
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
boolean |
isUnsupportedReason() |
static LynxNack.StandardReasonCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LynxNack.StandardReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getClass, notify, notifyAll, toString, wait, wait, wait
toString
public static final LynxNack.StandardReasonCode PARAM0
public static final LynxNack.StandardReasonCode PARAM1
public static final LynxNack.StandardReasonCode PARAM2
public static final LynxNack.StandardReasonCode PARAM3
public static final LynxNack.StandardReasonCode PARAM4
public static final LynxNack.StandardReasonCode PARAM5
public static final LynxNack.StandardReasonCode PARAM6
public static final LynxNack.StandardReasonCode PARAM7
public static final LynxNack.StandardReasonCode PARAM8
public static final LynxNack.StandardReasonCode PARAM9
public static final LynxNack.StandardReasonCode GPIO_OUT0
public static final LynxNack.StandardReasonCode GPIO_OUT1
public static final LynxNack.StandardReasonCode GPIO_OUT2
public static final LynxNack.StandardReasonCode GPIO_OUT3
public static final LynxNack.StandardReasonCode GPIO_OUT4
public static final LynxNack.StandardReasonCode GPIO_OUT5
public static final LynxNack.StandardReasonCode GPIO_OUT6
public static final LynxNack.StandardReasonCode GPIO_OUT7
public static final LynxNack.StandardReasonCode GPIO_NO_OUTPUT
public static final LynxNack.StandardReasonCode GPIO_IN0
public static final LynxNack.StandardReasonCode GPIO_IN1
public static final LynxNack.StandardReasonCode GPIO_IN2
public static final LynxNack.StandardReasonCode GPIO_IN3
public static final LynxNack.StandardReasonCode GPIO_IN4
public static final LynxNack.StandardReasonCode GPIO_IN5
public static final LynxNack.StandardReasonCode GPIO_IN6
public static final LynxNack.StandardReasonCode GPIO_IN7
public static final LynxNack.StandardReasonCode GPIO_NO_INPUT
public static final LynxNack.StandardReasonCode SERVO_NOT_CONFIG_BEFORE_ENABLED
public static final LynxNack.StandardReasonCode BATTERY_TOO_LOW_TO_RUN_SERVO
public static final LynxNack.StandardReasonCode I2C_MASTER_BUSY
public static final LynxNack.StandardReasonCode I2C_OPERATION_IN_PROGRESS
public static final LynxNack.StandardReasonCode I2C_NO_RESULTS_PENDING
public static final LynxNack.StandardReasonCode I2C_QUERY_MISMATCH
public static final LynxNack.StandardReasonCode I2C_TIMEOUT_SDA_STUCK
public static final LynxNack.StandardReasonCode I2C_TIMEOUT_SCK_STUCK
public static final LynxNack.StandardReasonCode I2C_TIMEOUT_UNKNOWN_CAUSE
public static final LynxNack.StandardReasonCode MOTOR_NOT_CONFIG_BEFORE_ENABLED
public static final LynxNack.StandardReasonCode COMMAND_INVALID_FOR_MOTOR_MODE
public static final LynxNack.StandardReasonCode BATTERY_TOO_LOW_TO_RUN_MOTOR
public static final LynxNack.StandardReasonCode COMMAND_IMPL_PENDING
public static final LynxNack.StandardReasonCode COMMAND_ROUTING_ERROR
public static final LynxNack.StandardReasonCode PACKET_TYPE_ID_UNKNOWN
public static final LynxNack.StandardReasonCode ABANDONED_WAITING_FOR_RESPONSE
public static final LynxNack.StandardReasonCode ABANDONED_WAITING_FOR_ACK
public static final LynxNack.StandardReasonCode UNRECOGNIZED_REASON_CODE
public static LynxNack.StandardReasonCode[] values()
for (LynxNack.StandardReasonCode c : LynxNack.StandardReasonCode.values()) System.out.println(c);
public static LynxNack.StandardReasonCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface LynxNack.ReasonCode
public boolean isUnsupportedReason()
isUnsupportedReason
in interface LynxNack.ReasonCode