public static enum Bmi160Gyro.FullScaleRange extends java.lang.Enum<Bmi160Gyro.FullScaleRange>
| Enum Constant and Description |
|---|
FSR_1000
+/- 1000 degrees / second
|
FSR_125
+/- 125 degrees / second
|
FSR_2000
+/- 2000 degrees / second
|
FSR_250
+/- 250 degrees / second
|
FSR_500
+/- 500 degrees / second
|
| Modifier and Type | Method and Description |
|---|---|
byte |
bitMask() |
static Bmi160Gyro.FullScaleRange |
bitMaskToRange(byte mask) |
abstract float |
scale() |
static Bmi160Gyro.FullScaleRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bmi160Gyro.FullScaleRange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bmi160Gyro.FullScaleRange FSR_2000
public static final Bmi160Gyro.FullScaleRange FSR_1000
public static final Bmi160Gyro.FullScaleRange FSR_500
public static final Bmi160Gyro.FullScaleRange FSR_250
public static final Bmi160Gyro.FullScaleRange FSR_125
public static Bmi160Gyro.FullScaleRange[] values()
for (Bmi160Gyro.FullScaleRange c : Bmi160Gyro.FullScaleRange.values()) System.out.println(c);
public static Bmi160Gyro.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 abstract float scale()
public byte bitMask()
public static Bmi160Gyro.FullScaleRange bitMaskToRange(byte mask)