public static enum GyroBmi160.Range extends Enum<GyroBmi160.Range>
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 |
---|---|
static GyroBmi160.Range |
bitMaskToRange(byte mask) |
static GyroBmi160.Range |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GyroBmi160.Range[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GyroBmi160.Range FSR_2000
public static final GyroBmi160.Range FSR_1000
public static final GyroBmi160.Range FSR_500
public static final GyroBmi160.Range FSR_250
public static final GyroBmi160.Range FSR_125
public static GyroBmi160.Range[] values()
for (GyroBmi160.Range c : GyroBmi160.Range.values()) System.out.println(c);
public static GyroBmi160.Range valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static GyroBmi160.Range bitMaskToRange(byte mask)