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

pub trait I2CMaster {
    fn enable(&self);
fn disable(&self);
fn write_read(
        &self,
        addr: u8,
        data: &'static mut [u8],
        write_len: u8,
        read_len: u8
    );
fn write(&self, addr: u8, data: &'static mut [u8], len: u8);
fn read(&self, addr: u8, buffer: &'static mut [u8], len: u8); }

Interface for an I2C Master hardware driver.

Required Methods

Implementors