Enum Constant and Description |
---|
HIGH
The I/O pin is in high state.
|
LOW
The I/O pin is in low state.
|
Modifier and Type | Method and Description |
---|---|
static IOState |
getIOState(byte value) |
byte |
getValue() |
static IOState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IOState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOState LOW
public static final IOState HIGH
public static IOState[] values()
for (IOState c : IOState.values()) System.out.println(c);
public static IOState 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 byte getValue()
public static IOState getIOState(byte value)