[][src]Trait kernel::hil::sensors::TemperatureDriver

pub trait TemperatureDriver<'a> {
    fn set_client(&self, client: &'a dyn TemperatureClient);
fn read_temperature(&self) -> ReturnCode; }

A basic interface for a temperature sensor

Required methods

fn set_client(&self, client: &'a dyn TemperatureClient)

fn read_temperature(&self) -> ReturnCode

Loading content...

Implementors

Loading content...