public static enum Bno055.OperationMode extends java.lang.Enum<Bno055.OperationMode>
Enum Constant and Description |
---|
ACCGYRO |
ACCMAG |
ACCONLY |
AMG |
COMPASS |
CONFIG |
GYROONLY |
IMU |
M4G |
MAGGYRO |
MAGONLY |
NDOF |
NDOF_FMC_OFF |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
description |
byte |
value |
Modifier and Type | Method and Description |
---|---|
static Bno055.OperationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bno055.OperationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bno055.OperationMode CONFIG
public static final Bno055.OperationMode ACCONLY
public static final Bno055.OperationMode MAGONLY
public static final Bno055.OperationMode GYROONLY
public static final Bno055.OperationMode ACCMAG
public static final Bno055.OperationMode ACCGYRO
public static final Bno055.OperationMode MAGGYRO
public static final Bno055.OperationMode AMG
public static final Bno055.OperationMode IMU
public static final Bno055.OperationMode COMPASS
public static final Bno055.OperationMode M4G
public static final Bno055.OperationMode NDOF_FMC_OFF
public static final Bno055.OperationMode NDOF
public static Bno055.OperationMode[] values()
for (Bno055.OperationMode c : Bno055.OperationMode.values()) System.out.println(c);
public static Bno055.OperationMode 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 null