[][src]Trait kernel::hil::i2c::I2CClient

pub trait I2CClient {
    fn command_complete(&self, buffer: &'static mut [u8], error: Error);
}

Client interface for I2CDevice implementations.

Required methods

fn command_complete(&self, buffer: &'static mut [u8], error: Error)

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

Loading content...

Implementors

Loading content...