public static enum GPIODriver.GPIOChannel.Direction extends Enum<GPIODriver.GPIOChannel.Direction>
| Enum Constant and Description |
|---|
IN
A readable channel
|
OUT
A writable channel
|
| Modifier and Type | Method and Description |
|---|---|
static GPIODriver.GPIOChannel.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GPIODriver.GPIOChannel.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPIODriver.GPIOChannel.Direction IN
public static final GPIODriver.GPIOChannel.Direction OUT
public static GPIODriver.GPIOChannel.Direction[] values()
for (GPIODriver.GPIOChannel.Direction c : GPIODriver.GPIOChannel.Direction.values()) System.out.println(c);
public static GPIODriver.GPIOChannel.Direction 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 nullCopyright © 2018 LSST. All rights reserved.