public static enum CounterBase.EncodingType extends java.lang.Enum<CounterBase.EncodingType>
Enum Constant and Description |
---|
k1X
Count only the rising edge.
|
k2X
Count both the rising and falling edge.
|
k4X
Count rising and falling on both channels.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static CounterBase.EncodingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CounterBase.EncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CounterBase.EncodingType k1X
public static final CounterBase.EncodingType k2X
public static final CounterBase.EncodingType k4X
public final int value
public static CounterBase.EncodingType[] values()
for (CounterBase.EncodingType c : CounterBase.EncodingType.values()) System.out.println(c);
public static CounterBase.EncodingType 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