Package com.diozero.devices
Enum BME68x.IirFilterCoefficient
- java.lang.Object
-
- java.lang.Enum<BME68x.IirFilterCoefficient>
-
- com.diozero.devices.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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
NONE
public static final BME68x.IirFilterCoefficient NONE
-
_1
public static final BME68x.IirFilterCoefficient _1
-
_3
public static final BME68x.IirFilterCoefficient _3
-
_7
public static final BME68x.IirFilterCoefficient _7
-
_15
public static final BME68x.IirFilterCoefficient _15
-
_31
public static final BME68x.IirFilterCoefficient _31
-
_63
public static final BME68x.IirFilterCoefficient _63
-
_127
public static final BME68x.IirFilterCoefficient _127
-
-
Method Detail
-
values
public static BME68x.IirFilterCoefficient[] 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.IirFilterCoefficient c : BME68x.IirFilterCoefficient.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.IirFilterCoefficient 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
-
getCoefficient
public int getCoefficient()
-
-