public static enum Bmm150Magnetometer.PowerPreset extends java.lang.Enum<Bmm150Magnetometer.PowerPreset>
Setting | ODR | Average Current | Noise |
---|---|---|---|
LOW_POWER | 10Hz | 170μA | 1.0μT (xy axis), 1.4μT (z axis) |
REGULAR | 10Hz | 0.5mA | 0.6μT |
ENHANCED_REGULAR | 10Hz | 0.8mA | 0.5μT |
HIGH_ACCURACY | 20Hz | 4.9mA | 0.3μT |
Enum Constant and Description |
---|
ENHANCED_REGULAR |
HIGH_ACCURACY |
LOW_POWER |
REGULAR |
Modifier and Type | Method and Description |
---|---|
static Bmm150Magnetometer.PowerPreset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bmm150Magnetometer.PowerPreset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bmm150Magnetometer.PowerPreset LOW_POWER
public static final Bmm150Magnetometer.PowerPreset REGULAR
public static final Bmm150Magnetometer.PowerPreset ENHANCED_REGULAR
public static final Bmm150Magnetometer.PowerPreset HIGH_ACCURACY
public static Bmm150Magnetometer.PowerPreset[] values()
for (Bmm150Magnetometer.PowerPreset c : Bmm150Magnetometer.PowerPreset.values()) System.out.println(c);
public static Bmm150Magnetometer.PowerPreset 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