public enum I2CFlag extends Enum<I2CFlag>
I2CMessage| Enum Constant and Description |
|---|
IGNORE_NAK
Ignores not acknowledge.
|
NO_READ_ACK
Ignores read acknowledge.
|
NO_START
Does not issue any more START/address after the initial START/address in a combined
message.
|
READ
Is a read operation, not a write.
|
REVISE_RW_BIT
Sends a read flag for writes and a write flag for reads.
|
TEN_BIT_ADDRESSING
Uses 10-bit addressing scheme instead of 7-bit.
|
| Modifier and Type | Method and Description |
|---|---|
static I2CFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static I2CFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final I2CFlag TEN_BIT_ADDRESSING
public static final I2CFlag READ
public static final I2CFlag NO_START
This is a workaround for broken I2C slave devices.
public static final I2CFlag REVISE_RW_BIT
This is a workaround for broken I2C slave devices.
public static final I2CFlag IGNORE_NAK
public static final I2CFlag NO_READ_ACK
public static I2CFlag[] values()
for (I2CFlag c : I2CFlag.values()) System.out.println(c);
public static I2CFlag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null