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