public static enum BMP180.BMPMode extends Enum<BMP180.BMPMode>
Enum Constant and Description |
---|
HIGH_RESOLUTION |
STANDARD |
ULTRA_HIGH_RESOLUTION |
ULTRA_LOW_POWER |
Modifier and Type | Method and Description |
---|---|
int |
getDelay()
Return the conversion delay (in ms) associated with this sampling
mode
|
byte |
getPressureCommand()
Return the pressure command to the control register for this sampling
mode
|
int |
getSamplingMode()
Return this sampling mode
|
static BMP180.BMPMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BMP180.BMPMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BMP180.BMPMode ULTRA_LOW_POWER
public static final BMP180.BMPMode STANDARD
public static final BMP180.BMPMode HIGH_RESOLUTION
public static final BMP180.BMPMode ULTRA_HIGH_RESOLUTION
public static BMP180.BMPMode[] values()
for (BMP180.BMPMode c : BMP180.BMPMode.values()) System.out.println(c);
public static BMP180.BMPMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getDelay()
public byte getPressureCommand()
public int getSamplingMode()
Copyright © 2016–2017 mattjlewis. All rights reserved.