protected static enum Interface.InterfaceType extends java.lang.Enum<Interface.InterfaceType>
| Enum Constant and Description |
|---|
ANALOG |
DIGITALIO |
I2C |
PWM |
RELAY |
SERIAL |
SPI |
| Modifier and Type | Method and Description |
|---|---|
static Interface.InterfaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Interface.InterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Interface.InterfaceType ANALOG
public static final Interface.InterfaceType DIGITALIO
public static final Interface.InterfaceType I2C
public static final Interface.InterfaceType PWM
public static final Interface.InterfaceType RELAY
public static final Interface.InterfaceType SERIAL
public static final Interface.InterfaceType SPI
public static Interface.InterfaceType[] values()
for (Interface.InterfaceType c : Interface.InterfaceType.values()) System.out.println(c);
public static Interface.InterfaceType 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