Struct bmp280_ehal::Config
source · pub struct Config {
pub t_sb: Standby,
pub filter: Filter,
}
Expand description
Configuration register, sets the rate, filter and interface options of the device. Note that writing to this register while device in normal mode may be ignored. Writes in sleep mode are not ignored.
spi3w_en is intentionally left out of this implementation.
Fields§
§t_sb: Standby
Controls inactive duration in normal mode
filter: Filter
Controls the time constant of IIR filter
Trait Implementations§
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