pub struct Config {
pub measurement_standby_time_millis: Option<MeasurementStandbyTimeMillis>,
pub pressure_oversampling: PressureOversampling,
pub temperature_oversampling: TemperatureOversampling,
pub iir_filter: IIRFilterCoefficient,
}
Fields§
§measurement_standby_time_millis: Option<MeasurementStandbyTimeMillis>
§pressure_oversampling: PressureOversampling
§temperature_oversampling: TemperatureOversampling
§iir_filter: IIRFilterCoefficient
Implementations§
source§impl Config
impl Config
sourcepub fn handheld_device_lowpower() -> Config
pub fn handheld_device_lowpower() -> Config
Use in NormalMode
sourcepub fn handheld_device_dynamic() -> Config
pub fn handheld_device_dynamic() -> Config
Use in NormalMode
sourcepub fn weather_monitoring() -> Config
pub fn weather_monitoring() -> Config
Use in sleep mode with the [trigger_measurement] methods.
sourcepub fn elevator_floor_monitoring() -> Config
pub fn elevator_floor_monitoring() -> Config
Use in NormalMode
sourcepub fn drop_detection() -> Config
pub fn drop_detection() -> Config
Use in NormalMode
Use in NormalMode
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more