kernel::hil::sensorsTrait TemperatureClient
Source pub trait TemperatureClient {
// Required method
fn callback(&self, value: Result<i32, ErrorCode>);
}
Expand description
Client for receiving temperature readings.
Called when a temperature reading has completed.
value
: the most recently read temperature in hundredths of degrees
centigrade (centiCelsius), or Err on failure.