public static enum HMC5883L.MeasurementMode extends java.lang.Enum<HMC5883L.MeasurementMode>
| Enum Constant and Description |
|---|
kNEGBIAS
Negative bias configuration for X, Y and Z axes
In this configuration, a negative current is forced across
the resistive load for all three axes.
|
kNORMAL
Normal Measurement Config (Default)
In normal measurement configuration the device follows
normal measurement flow.
|
kPOSBIAS
Positive bias configuration for X, Y, and Z axes
In this configuration, a positive current is forced across
the resistive load for all three axes.
|
MODE_RES
Reserved
|
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static HMC5883L.MeasurementMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HMC5883L.MeasurementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMC5883L.MeasurementMode kNORMAL
public static final HMC5883L.MeasurementMode kPOSBIAS
public static final HMC5883L.MeasurementMode kNEGBIAS
public static final HMC5883L.MeasurementMode MODE_RES
public static HMC5883L.MeasurementMode[] values()
for (HMC5883L.MeasurementMode c : HMC5883L.MeasurementMode.values()) System.out.println(c);
public static HMC5883L.MeasurementMode 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