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

pub trait TemperatureClient {
    fn callback(&self, value: usize);
}

Client for receiving temperature readings.

Required methods

fn callback(&self, value: usize)

Called when a temperature reading has completed.

  • value: the most recently read temperature in hundredths of degrees centigrate.
Loading content...

Implementors

Loading content...