public static enum I2C.Register extends java.lang.Enum<I2C.Register> implements Register
Enum Constant and Description |
---|
READ_WRITE
Read / Write data through the I2C bus
|
Modifier and Type | Method and Description |
---|---|
Module |
module()
Get the module the register belongs to
|
static I2C.Register |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static I2C.Register[] |
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
notifyCallbacks, opcode
public static final I2C.Register READ_WRITE
public static I2C.Register[] values()
for (I2C.Register c : I2C.Register.values()) System.out.println(c);
public static I2C.Register 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 null