[][src]Struct bmp280_ehal::Config

pub struct Config {
    pub t_sb: Standby,
    pub filter: Filter,
}

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

impl Clone for Config[src]

impl Copy for Config[src]

impl Debug for Config[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.