Trait kernel::hil::sensors::HumidityDriver
source · pub trait HumidityDriver<'a> {
// Required methods
fn set_client(&self, client: &'a dyn HumidityClient);
fn read_humidity(&self) -> Result<(), ErrorCode>;
}
Expand description
A basic interface for a humidity sensor