Enum bme280::Oversampling
source · pub enum Oversampling {
Oversampling1X,
Oversampling2X,
Oversampling4X,
Oversampling8X,
Oversampling16X,
}
Expand description
Oversampling settings for temperature, pressure, and humidity measurements. See sections 3.4ff of the manual for measurement flow and recommended values. The default is 1x, i.e., no oversampling.
Variants§
Oversampling1X
Disables oversampling. Without IIR filtering, this sets the resolution of temperature and pressure measurements to 16 bits.
Oversampling2X
Configures 2x oversampling. This increases the resolution of temperature and pressure measurements to 17 bits without IIR filtering.
Oversampling4X
Configures 4x oversampling. This increases the resolution of temperature and pressure measurements to 18 bits without IIR filtering.
Oversampling8X
Configures 8x oversampling. This increases the resolution of temperature and pressure measurements to 19 bits without IIR filtering.
Oversampling16X
Configures 16x oversampling. This increases the resolution of temperature and pressure measurements to 20 bits, regardless of IIR filtering.
Trait Implementations§
source§impl Clone for Oversampling
impl Clone for Oversampling
source§fn clone(&self) -> Oversampling
fn clone(&self) -> Oversampling
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more