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

pub trait HumidityDriver {
    fn set_client(&self, client: &'static dyn HumidityClient);
fn read_humidity(&self) -> ReturnCode; }

A basic interface for a humidity sensor

Required methods

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

fn read_humidity(&self) -> ReturnCode

Loading content...

Implementors

Loading content...