public static enum Counter.Mode extends java.lang.Enum<Counter.Mode>
Enum Constant and Description |
---|
kExternalDirection
mode: external direction.
|
kPulseLength
mode: pulse length.
|
kSemiperiod
mode: semi period.
|
kTwoPulse
mode: two pulse.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static Counter.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Counter.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Counter.Mode kTwoPulse
public static final Counter.Mode kSemiperiod
public static final Counter.Mode kPulseLength
public static final Counter.Mode kExternalDirection
public final int value
public static Counter.Mode[] values()
for (Counter.Mode c : Counter.Mode.values()) System.out.println(c);
public static Counter.Mode 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