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