Package com.diozero.devices
Enum BME68x.IirFilterCoefficient
- All Implemented Interfaces:
Serializable
,Comparable<BME68x.IirFilterCoefficient>
- Enclosing class:
- BME68x
public static enum BME68x.IirFilterCoefficient extends Enum<BME68x.IirFilterCoefficient>
Infinite Impulse Response (IIR) filter.
Optionally remove short term fluctuations from the temperature and pressure
readings, increasing their resolution but reducing their bandwidth. Enabling
the IIR filter does not slow down the time a reading takes, but will slow
down the BME680s response to changes in temperature and pressure. When the
IIR filter is enabled, the temperature and pressure resolution is effectively
20bit. When it is disabled, it is 16bit + oversampling-1 bits.
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description int
getCoefficient()
static BME68x.IirFilterCoefficient
valueOf(String name)
Returns the enum constant of this type with the specified name.static BME68x.IirFilterCoefficient[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
-
_1
-
_3
-
_7
-
_15
-
_31
-
_63
-
_127
-
-
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
-
getCoefficient
public int getCoefficient()
-