Type Alias redboard_artemis_nano::BME280Sensor
source · pub(crate) type BME280Sensor = Bme280ComponentType<I2CDevice<'static, Iom<'static>>>;
Aliased Type§
struct BME280Sensor {
buffer: TakeCell<'static, [u8]>,
i2c: &'static I2CDevice<'static, Iom<'static>>,
calibration: Cell<CalibrationData>,
temperature_client: OptionalCell<&'static dyn TemperatureClient>,
humidity_client: OptionalCell<&'static dyn HumidityClient>,
state: Cell<DeviceState>,
op: Cell<Operation>,
t_fine: Cell<usize>,
}
Fields§
§buffer: TakeCell<'static, [u8]>
§i2c: &'static I2CDevice<'static, Iom<'static>>
§calibration: Cell<CalibrationData>
§temperature_client: OptionalCell<&'static dyn TemperatureClient>
§humidity_client: OptionalCell<&'static dyn HumidityClient>
§state: Cell<DeviceState>
§op: Cell<Operation>
§t_fine: Cell<usize>