Struct bme680::Bme680

source ·
#[repr(C)]
pub struct Bme680<I2C, D> { /* private fields */ }
Expand description

Driver for the BME680 environmental sensor

Implementations

Set the settings to be used during the sensor measurements

Retrieve settings from sensor registers

Arguments
  • desired_settings - Settings to be retrieved. Setting values may stay None if not retrieved.

Set the sensor into a certain power mode

Arguments
  • target_power_mode - Desired target power mode

Retrieve current sensor power mode via registers

Retrieve the current sensor informations

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.