public static enum GPIO.PullMode extends java.lang.Enum<GPIO.PullMode>
Enum Constant and Description |
---|
DOWN
Set with pull down
|
NONE
Set with no pull
|
UP
Set with pull up
|
Modifier and Type | Field and Description |
---|---|
GPIO.Register |
register
Register corresponding to the pull mode
|
static GPIO.PullMode[] |
values |
Modifier and Type | Method and Description |
---|---|
static GPIO.PullMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GPIO.PullMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPIO.PullMode UP
GPIO.Register.SET_DIGITAL_IN_PULL_UP
public static final GPIO.PullMode DOWN
public static final GPIO.PullMode NONE
GPIO.Register.SET_DIGITAL_IN_NO_PULL
public static final GPIO.PullMode[] values
public final GPIO.Register register
public static GPIO.PullMode[] values()
for (GPIO.PullMode c : GPIO.PullMode.values()) System.out.println(c);
public static GPIO.PullMode 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