Enum bme280_multibus::Oversampling [−][src]
#[repr(u8)]
pub enum Oversampling {
Skip,
X1,
X2,
X4,
X8,
X16,
}Expand description
Oversampling settings for temperature, pressure, and humidity data.
Variants
Skip
Skipped, output set to 0x80000.
X1
Oversampling × 1
X2
Oversampling × 2
X4
Oversampling × 4
X8
Oversampling × 8
X16
Oversampling × 16
Implementations
Reset value of the osrs fields.
Example
use bme280_multibus::Oversampling;
assert_eq!(Oversampling::reset(), Oversampling::Skip);Trait Implementations
Performs the conversion.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
