public static enum Encoder.IndexingType extends java.lang.Enum<Encoder.IndexingType>
Enum Constant and Description |
---|
kResetOnFallingEdge |
kResetOnRisingEdge |
kResetWhileHigh |
kResetWhileLow |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Encoder.IndexingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Encoder.IndexingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoder.IndexingType kResetWhileHigh
public static final Encoder.IndexingType kResetWhileLow
public static final Encoder.IndexingType kResetOnFallingEdge
public static final Encoder.IndexingType kResetOnRisingEdge
public final int value
public static Encoder.IndexingType[] values()
for (Encoder.IndexingType c : Encoder.IndexingType.values()) System.out.println(c);
public static Encoder.IndexingType 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