public static enum LynxI2cConfigureChannelCommand.SpeedCode extends java.lang.Enum<LynxI2cConfigureChannelCommand.SpeedCode>
Enum Constant and Description |
---|
FAST_400K |
FASTPLUS_1M |
HIGH_3_4M |
STANDARD_100K |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static LynxI2cConfigureChannelCommand.SpeedCode |
fromByte(int bVal) |
static LynxI2cConfigureChannelCommand.SpeedCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LynxI2cConfigureChannelCommand.SpeedCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LynxI2cConfigureChannelCommand.SpeedCode UNKNOWN
public static final LynxI2cConfigureChannelCommand.SpeedCode STANDARD_100K
public static final LynxI2cConfigureChannelCommand.SpeedCode FAST_400K
public static final LynxI2cConfigureChannelCommand.SpeedCode FASTPLUS_1M
public static final LynxI2cConfigureChannelCommand.SpeedCode HIGH_3_4M
public static LynxI2cConfigureChannelCommand.SpeedCode[] values()
for (LynxI2cConfigureChannelCommand.SpeedCode c : LynxI2cConfigureChannelCommand.SpeedCode.values()) System.out.println(c);
public static LynxI2cConfigureChannelCommand.SpeedCode 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 static LynxI2cConfigureChannelCommand.SpeedCode fromByte(int bVal)