public static enum HMC5883L.OperatingMode extends java.lang.Enum<HMC5883L.OperatingMode>
| Enum Constant and Description |
|---|
kCONTINUOUS
Continuous-Measurement Mode
In continuous-measurement mode, the device continuously
performs measurements and places the result in the data
register.
|
kIDLE
Idle Mode (Power Saving)
Device is placed in idle mode.
|
kSINGLE
Single-Measurement Mode (Default)
When single-measurement mode is selected, device performs
a single measurement, sets RDY high and returned to idle
mode.
|
MODE_RES
Reserved
|
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static HMC5883L.OperatingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HMC5883L.OperatingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMC5883L.OperatingMode kCONTINUOUS
public static final HMC5883L.OperatingMode kSINGLE
public static final HMC5883L.OperatingMode kIDLE
public static final HMC5883L.OperatingMode MODE_RES
public static HMC5883L.OperatingMode[] values()
for (HMC5883L.OperatingMode c : HMC5883L.OperatingMode.values()) System.out.println(c);
public static HMC5883L.OperatingMode 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