public static enum Counter.Mode extends 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
The integer value representing this enumeration
|
Modifier and Type | Method and Description |
---|---|
static Counter.Mode |
valueOf(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 static Counter.Mode[] values()
for (Counter.Mode c : Counter.Mode.values()) System.out.println(c);
public static Counter.Mode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.