public static enum HMC5883L.Averaging extends java.lang.Enum<HMC5883L.Averaging>
| Enum Constant and Description |
|---|
k1SAMPLES
1 Sample (Default)
|
k2SAMPLES
2 Samples
|
k3SAMPLES
4 Samples
|
k4SAMPLES
8 Samples
|
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
static HMC5883L.Averaging |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HMC5883L.Averaging[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HMC5883L.Averaging k1SAMPLES
public static final HMC5883L.Averaging k2SAMPLES
public static final HMC5883L.Averaging k3SAMPLES
public static final HMC5883L.Averaging k4SAMPLES
public static HMC5883L.Averaging[] values()
for (HMC5883L.Averaging c : HMC5883L.Averaging.values()) System.out.println(c);
public static HMC5883L.Averaging 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