Struct bsec::bme::BmeSettingsHandle
source · pub struct BmeSettingsHandle<'a> { /* private fields */ }
Expand description
Handle to a struct with settings for the BME sensor.
Retrieve the settings from this handle to configure your BME sensor
appropriately in BmeSensor::start_measurement
for the measurements
requested by the BSEC algorithm.
Implementations§
source§impl<'a> BmeSettingsHandle<'a>
impl<'a> BmeSettingsHandle<'a>
sourcepub fn heater_temperature(&self) -> u16
pub fn heater_temperature(&self) -> u16
Returns the desired gas sensor heater target temperature.
sourcepub fn heating_duration(&self) -> u16
pub fn heating_duration(&self) -> u16
Returns the desired gas sensor heating duration in milliseconds.
sourcepub fn pressure_oversampling(&self) -> u8
pub fn pressure_oversampling(&self) -> u8
Returns the desired oversampling of barometric pressure measurements.
sourcepub fn temperature_oversampling(&self) -> u8
pub fn temperature_oversampling(&self) -> u8
Returns the desired oversampling of temperature measurements.
sourcepub fn humidity_oversampling(&self) -> u8
pub fn humidity_oversampling(&self) -> u8
Returns the desired oversampling of humidity measurements.