Package com.diozero.devices
Enum BME280.StandbyDuration
- All Implemented Interfaces:
Serializable
,Comparable<BME280.StandbyDuration>
- Enclosing class:
- BME280
public static enum BME280.StandbyDuration extends Enum<BME280.StandbyDuration>
Inactive duration in standby mode; can be STANDBY_
- 500_US (0.5 ms)
- 62_5_MS (62.5 ms)
- 125_MS (125 ms)
- 250_MS (250 ms)
- 500_MS (500 ms)
- 1_S (1 second)
- 10_MS (10 ms)
- 20_MS (20 ms)
-
Enum Constant Summary
Enum Constants Enum Constant Description STANDBY_1_S
STANDBY_10_MS
STANDBY_125_MS
STANDBY_20_MS
STANDBY_250_MS
STANDBY_500_MS
STANDBY_500_US
STANDBY_62_5_MS
-
Method Summary
Modifier and Type Method Description byte
getMask()
static BME280.StandbyDuration
valueOf(String name)
Returns the enum constant of this type with the specified name.static BME280.StandbyDuration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STANDBY_500_US
-
STANDBY_62_5_MS
-
STANDBY_125_MS
-
STANDBY_250_MS
-
STANDBY_500_MS
-
STANDBY_1_S
-
STANDBY_10_MS
-
STANDBY_20_MS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getMask
public byte getMask()
-