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

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

A basic interface for a temperature sensor

Required methods

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

fn read_temperature(&self) -> ReturnCode

Loading content...

Implementors

Loading content...