Struct bmp280_ehal::BMP280

source ·
pub struct BMP280<I2C: WriteRead> { /* private fields */ }
Expand description

BMP280 driver

Implementations

Creates new BMP280 driver

Reads and returns pressure

Reads and returns pressure and resets con

Reads and returns temperature

Returns current config

Sets configuration

Sets control

Returns control

Returns device status

Returns device id

Software reset, emulates POR

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.