kernel::hil::sensors

Trait PressureClient

Source
pub trait PressureClient {
    // Required method
    fn callback(&self, pressure: Result<u32, ErrorCode>);
}

Required Methods§

Source

fn callback(&self, pressure: Result<u32, ErrorCode>)

Called when a atmospheric pressure reading has completed.

Returns the value in hPa.

Implementors§