public static enum I2cSetting.TransferType extends java.lang.Enum<I2cSetting.TransferType>
| Enum Constant and Description |
|---|
I2C_NO_START_NO_STOP |
I2C_NO_START_STOP |
I2C_START_NO_STOP |
I2C_START_STOP |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static I2cSetting.TransferType |
valueOf(int nValue) |
static I2cSetting.TransferType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static I2cSetting.TransferType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final I2cSetting.TransferType I2C_NO_START_NO_STOP
public static final I2cSetting.TransferType I2C_START_NO_STOP
public static final I2cSetting.TransferType I2C_NO_START_STOP
public static final I2cSetting.TransferType I2C_START_STOP
public static I2cSetting.TransferType[] values()
for (I2cSetting.TransferType c : I2cSetting.TransferType.values()) System.out.println(c);
public static I2cSetting.TransferType 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 I2cSetting.TransferType valueOf(int nValue)
public int getValue()