Type Alias Hts221ComponentType

Source
pub type Hts221ComponentType<I> = Hts221<'static, I>;

Aliased Type§

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

Implementations

Source§

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

Source

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

Trait Implementations

Source§

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

Source§

impl<I> I2CClient for Hts221<'_, 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 Hts221<'a, I>
where I: I2CDevice,