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