public static enum Gpio.AnalogReadMode extends java.lang.Enum<Gpio.AnalogReadMode>
Enum Constant and Description |
---|
ABS_REFERENCE
Read analog input voltage as an absolute reference
|
ADC
Read analog input voltage as an ADC value (supply ratio)
|
Modifier and Type | Method and Description |
---|---|
static Gpio.AnalogReadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gpio.AnalogReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gpio.AnalogReadMode ABS_REFERENCE
public static final Gpio.AnalogReadMode ADC
public static Gpio.AnalogReadMode[] values()
for (Gpio.AnalogReadMode c : Gpio.AnalogReadMode.values()) System.out.println(c);
public static Gpio.AnalogReadMode 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