|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PulseInput.PulseMode>
ioio.lib.api.PulseInput.PulseMode
public static enum PulseInput.PulseMode
An enumeration for describing the module's operating mode.
Enum Constant Summary | |
---|---|
FREQ
Frequency measurement (rising-edge-to-rising-edge). |
|
FREQ_SCALE_16
Frequency measurement (rising-edge-to-rising-edge) with 16x scaling. |
|
FREQ_SCALE_4
Frequency measurement (rising-edge-to-rising-edge) with 4x scaling. |
|
NEGATIVE
Negative pulse measurement (falling-edge-to-rising-edge). |
|
POSITIVE
Positive pulse measurement (rising-edge-to-falling-edge). |
Field Summary | |
---|---|
int |
scaling
The scaling factor as an integer. |
Method Summary | |
---|---|
static PulseInput.PulseMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PulseInput.PulseMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PulseInput.PulseMode POSITIVE
public static final PulseInput.PulseMode NEGATIVE
public static final PulseInput.PulseMode FREQ
public static final PulseInput.PulseMode FREQ_SCALE_4
public static final PulseInput.PulseMode FREQ_SCALE_16
Field Detail |
---|
public final int scaling
Method Detail |
---|
public static PulseInput.PulseMode[] values()
for (PulseInput.PulseMode c : PulseInput.PulseMode.values()) System.out.println(c);
public static PulseInput.PulseMode 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |