Type Alias Bme280ComponentType

Source
pub type Bme280ComponentType<I> = Bme280<'static, I>;

Aliased Type§

struct Bme280ComponentType<I> { /* private fields */ }

Implementations

Source§

impl<'a, I> Bme280<'a, I>
where I: I2CDevice,

Source

pub fn new(i2c: &'a I, buffer: &'static mut [u8]) -> Bme280<'a, I>

Source

pub fn startup(&self)

Trait Implementations

Source§

impl<'a, I> HumidityDriver<'a> for Bme280<'a, I>
where I: I2CDevice,

Source§

impl<I> I2CClient for Bme280<'_, I>
where I: I2CDevice,

Source§

fn command_complete(&self, buffer: &'static mut [u8], status: Result<(), Error>)

Called when an I2C command completed. The error denotes whether the command completed successfully or if an error occured.
Source§

impl<'a, I> TemperatureDriver<'a> for Bme280<'a, I>
where I: I2CDevice,