public static enum BNO055.powermode_t extends java.lang.Enum<BNO055.powermode_t>
Enum Constant and Description |
---|
POWER_MODE_LOWPOWER |
POWER_MODE_NORMAL |
POWER_MODE_SUSPEND |
Modifier and Type | Method and Description |
---|---|
int |
getVal() |
static BNO055.powermode_t |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BNO055.powermode_t[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BNO055.powermode_t POWER_MODE_NORMAL
public static final BNO055.powermode_t POWER_MODE_LOWPOWER
public static final BNO055.powermode_t POWER_MODE_SUSPEND
public static BNO055.powermode_t[] values()
for (BNO055.powermode_t c : BNO055.powermode_t.values()) System.out.println(c);
public static BNO055.powermode_t 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 int getVal()