Trait kernel::hil::sensors::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§