public static enum Mma8452qAccelerometer.SleepModeRate extends java.lang.Enum<Mma8452qAccelerometer.SleepModeRate>
Enum Constant and Description |
---|
SMR_1_56_HZ |
SMR_12_5_HZ |
SMR_50_HZ |
SMR_6_25_HZ |
Modifier and Type | Method and Description |
---|---|
static Mma8452qAccelerometer.SleepModeRate |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Mma8452qAccelerometer.SleepModeRate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mma8452qAccelerometer.SleepModeRate SMR_50_HZ
public static final Mma8452qAccelerometer.SleepModeRate SMR_12_5_HZ
public static final Mma8452qAccelerometer.SleepModeRate SMR_6_25_HZ
public static final Mma8452qAccelerometer.SleepModeRate SMR_1_56_HZ
public static Mma8452qAccelerometer.SleepModeRate[] values()
for (Mma8452qAccelerometer.SleepModeRate c : Mma8452qAccelerometer.SleepModeRate.values()) System.out.println(c);
public static Mma8452qAccelerometer.SleepModeRate 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