Trait kernel::hil::i2c::I2CHwMasterClient
[−]
[src]
pub trait I2CHwMasterClient { fn command_complete(&self, buffer: &'static mut [u8], error: Error); }
Client interface for capsules that use I2CMaster devices.
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.
Implementors
impl<'a> I2CHwMasterClient for MuxI2C<'a>
impl<'a> I2CHwMasterClient for I2CMasterSlaveDriver<'a>