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