public static enum GPIO.AnalogMode extends java.lang.Enum<GPIO.AnalogMode>
Enum Constant and Description |
---|
ABSOLUTE_VALUE
Read voltage as an absolute reference
|
SUPPLY_RATIO
Read voltage as a supply ratio (ADC value)
|
Modifier and Type | Field and Description |
---|---|
GPIO.Register |
register
Op code corresponding to the specific read
|
Modifier and Type | Method and Description |
---|---|
static GPIO.AnalogMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GPIO.AnalogMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPIO.AnalogMode ABSOLUTE_VALUE
public static final GPIO.AnalogMode SUPPLY_RATIO
public final GPIO.Register register
public static GPIO.AnalogMode[] values()
for (GPIO.AnalogMode c : GPIO.AnalogMode.values()) System.out.println(c);
public static GPIO.AnalogMode 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