public static enum MagnetometerBmm150.Preset extends java.lang.Enum<MagnetometerBmm150.Preset>
| 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 MagnetometerBmm150.Preset |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MagnetometerBmm150.Preset[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MagnetometerBmm150.Preset LOW_POWER
public static final MagnetometerBmm150.Preset REGULAR
public static final MagnetometerBmm150.Preset ENHANCED_REGULAR
public static final MagnetometerBmm150.Preset HIGH_ACCURACY
public static MagnetometerBmm150.Preset[] values()
for (MagnetometerBmm150.Preset c : MagnetometerBmm150.Preset.values()) System.out.println(c);
public static MagnetometerBmm150.Preset 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