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