Type Alias stm32f412gdiscovery::TemperatureSTMSensor

source ·
pub(crate) type TemperatureSTMSensor = TemperatureSTMComponentType<AdcDevice<'static, Adc<'static>>>;

Aliased Type§

struct TemperatureSTMSensor {
    adc: &'static AdcDevice<'static, Adc<'static>>,
    slope: f32,
    v_25: f32,
    temperature_client: OptionalCell<&'static dyn TemperatureClient>,
    status: Cell<Status>,
}

Fields§

§adc: &'static AdcDevice<'static, Adc<'static>>§slope: f32§v_25: f32§temperature_client: OptionalCell<&'static dyn TemperatureClient>§status: Cell<Status>