public static enum HMC5883L.Gain extends java.lang.Enum<HMC5883L.Gain>
| Enum Constant and Description |
|---|
k1090
+/- 1.30 Ga / 1090 Gain LSb/Gauss (Default)
|
k1370
+/- 0.88 Ga / 1370 Gain LSb/Gauss
|
k230
+/- 8.10 Ga / 230 Gain LSb/Gauss
|
k330
+/- 5.60 Ga / 330 Gain LSb/Gauss
|
k390
+/- 4.70 Ga / 390 Gain LSb/Gauss
|
k440
+/- 4.00 Ga / 440 Gain LSb/Gauss
|
k660
+/- 2.50 Ga / 660 Gain LSb/Gauss
|
k820
+/- 1.90 Ga / 820 Gain LSb/Gauss
|
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static HMC5883L.Gain |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HMC5883L.Gain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMC5883L.Gain k1370
public static final HMC5883L.Gain k1090
public static final HMC5883L.Gain k820
public static final HMC5883L.Gain k660
public static final HMC5883L.Gain k440
public static final HMC5883L.Gain k390
public static final HMC5883L.Gain k330
public static final HMC5883L.Gain k230
public static HMC5883L.Gain[] values()
for (HMC5883L.Gain c : HMC5883L.Gain.values()) System.out.println(c);
public static HMC5883L.Gain 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