public static enum BNO055IMU.MagPowerMode extends java.lang.Enum<BNO055IMU.MagPowerMode>
Modifier and Type | Field and Description |
---|---|
byte |
bVal |
Modifier and Type | Method and Description |
---|---|
static BNO055IMU.MagPowerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BNO055IMU.MagPowerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BNO055IMU.MagPowerMode NORMAL
public static final BNO055IMU.MagPowerMode SLEEP
public static final BNO055IMU.MagPowerMode SUSPEND
public static final BNO055IMU.MagPowerMode FORCE
public static BNO055IMU.MagPowerMode[] values()
for (BNO055IMU.MagPowerMode c : BNO055IMU.MagPowerMode.values()) System.out.println(c);
public static BNO055IMU.MagPowerMode 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