public static enum PWM.PeriodMultiplier extends java.lang.Enum<PWM.PeriodMultiplier>
Enum Constant and Description |
---|
k1X
Period Multiplier: don't skip pulses.
|
k2X
Period Multiplier: skip every other pulse.
|
k4X
Period Multiplier: skip three out of four pulses.
|
Modifier and Type | Method and Description |
---|---|
static PWM.PeriodMultiplier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PWM.PeriodMultiplier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PWM.PeriodMultiplier k1X
public static final PWM.PeriodMultiplier k2X
public static final PWM.PeriodMultiplier k4X
public static PWM.PeriodMultiplier[] values()
for (PWM.PeriodMultiplier c : PWM.PeriodMultiplier.values()) System.out.println(c);
public static PWM.PeriodMultiplier 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