public static enum AccelerometerBmi270.AccRange extends java.lang.Enum<AccelerometerBmi270.AccRange>
Enum Constant and Description |
---|
AR_16G
+/-16g
|
AR_2G
+/-2g
|
AR_4G
+/-4g
|
AR_8G
+/-8g
|
Modifier and Type | Method and Description |
---|---|
static AccelerometerBmi270.AccRange |
bitMaskToRange(byte bitMask) |
static float[] |
ranges() |
static AccelerometerBmi270.AccRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccelerometerBmi270.AccRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccelerometerBmi270.AccRange AR_2G
public static final AccelerometerBmi270.AccRange AR_4G
public static final AccelerometerBmi270.AccRange AR_8G
public static final AccelerometerBmi270.AccRange AR_16G
public final byte bitmask
public final float scale
public final float range
public static AccelerometerBmi270.AccRange[] values()
for (AccelerometerBmi270.AccRange c : AccelerometerBmi270.AccRange.values()) System.out.println(c);
public static AccelerometerBmi270.AccRange 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 AccelerometerBmi270.AccRange bitMaskToRange(byte bitMask)
public static float[] ranges()