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