Package com.diozero.devices
Enum BME68x.ODR
- java.lang.Object
-
- java.lang.Enum<BME68x.ODR>
-
- com.diozero.devices.BME68x.ODR
-
- All Implemented Interfaces:
Serializable
,Comparable<BME68x.ODR>
- Enclosing class:
- BME68x
public static enum BME68x.ODR extends Enum<BME68x.ODR>
Operating (Output?) Data Rate (ODR) - standby time. Standby time between sequential mode measurement profiles. Not documented in the datasheet, ref: https://github.com/BoschSensortec/BME68x-Sensor-API/blob/master/bme68x_defs.h#L265
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getStandbyTimeMs()
static BME68x.ODR
valueOf(String name)
Returns the enum constant of this type with the specified name.static BME68x.ODR[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_0_59_MS
public static final BME68x.ODR _0_59_MS
-
_62_5_MS
public static final BME68x.ODR _62_5_MS
-
_125_MS
public static final BME68x.ODR _125_MS
-
_250_MS
public static final BME68x.ODR _250_MS
-
_500_MS
public static final BME68x.ODR _500_MS
-
_1000_MS
public static final BME68x.ODR _1000_MS
-
_10_MS
public static final BME68x.ODR _10_MS
-
_20_MS
public static final BME68x.ODR _20_MS
-
NONE
public static final BME68x.ODR NONE
-
-
Method Detail
-
values
public static BME68x.ODR[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BME68x.ODR c : BME68x.ODR.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BME68x.ODR valueOf(String name)
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
-
getStandbyTimeMs
public float getStandbyTimeMs()
-
-