public static enum BoardConfig.GPIO.Pull extends Enum<BoardConfig.GPIO.Pull>
| Enum Constant and Description |
|---|
BUS_KEEPER |
NO_PULL |
PULL_DOWN |
PULL_UP |
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
BoardConfig.GPIO.Pull |
intern() |
String |
toString() |
static BoardConfig.GPIO.Pull |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoardConfig.GPIO.Pull[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoardConfig.GPIO.Pull NO_PULL
public static final BoardConfig.GPIO.Pull PULL_UP
public static final BoardConfig.GPIO.Pull PULL_DOWN
public static final BoardConfig.GPIO.Pull BUS_KEEPER
public static BoardConfig.GPIO.Pull[] values()
for (BoardConfig.GPIO.Pull c : BoardConfig.GPIO.Pull.values()) System.out.println(c);
public static BoardConfig.GPIO.Pull 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 nullpublic BoardConfig.GPIO.Pull intern()
public String toString()
toString in class Enum<BoardConfig.GPIO.Pull>Copyright © 2023. All rights reserved.