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

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.