Struct capsules::lps25hb::LPS25HB [] [src]

pub struct LPS25HB<'a> {
    i2c: &'a I2CDevice,
    interrupt_pin: &'a Pin,
    callback: Cell<Option<Callback>>,
    state: Cell<State>,
    buffer: TakeCell<'static, [u8]>,
}

Fields

Methods

impl<'a> LPS25HB<'a>
[src]

[src]

[src]

[src]

Trait Implementations

impl<'a> I2CClient for LPS25HB<'a>
[src]

[src]

Called when an I2C command completed. The error denotes whether the command completed successfully or if an error occured. Read more

impl<'a> Client for LPS25HB<'a>
[src]

[src]

Called when an interrupt occurs. The identifier will be the same value that was passed to enable_interrupt() when the interrupt was configured. Read more

impl<'a> Driver for LPS25HB<'a>
[src]

[src]

subscribe lets an application pass a callback to the driver to be called later. This returns ENOSUPPORT if not used. Read more

[src]

command instructs a driver to perform some action synchronously. This returns ENOSUPPORT if not used. Read more

[src]

allow lets an application give the driver access to a buffer in the application's memory. This returns ENOSUPPORT if not used. Read more