Type Alias nano33ble::HTS221Sensor
source · pub(crate) type HTS221Sensor = Hts221ComponentType<I2CDevice<'static, TWI<'static>>>;
Aliased Type§
struct HTS221Sensor {
buffer: TakeCell<'static, [u8]>,
i2c: &'static I2CDevice<'static, TWI<'static>>,
temperature_client: OptionalCell<&'static dyn TemperatureClient>,
humidity_client: OptionalCell<&'static dyn HumidityClient>,
state: Cell<State>,
pending_temperature: Cell<bool>,
pending_humidity: Cell<bool>,
}
Fields§
§buffer: TakeCell<'static, [u8]>
§i2c: &'static I2CDevice<'static, TWI<'static>>
§temperature_client: OptionalCell<&'static dyn TemperatureClient>
§humidity_client: OptionalCell<&'static dyn HumidityClient>
§state: Cell<State>
§pending_temperature: Cell<bool>
§pending_humidity: Cell<bool>