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