Trait kernel::hil::i2c::I2CSlave   
                   
                       [−]
                   
               [src]
pub trait I2CSlave {
    fn enable(&self);
    fn disable(&self);
    fn set_address(&self, addr: u8);
    fn write_receive(&self, data: &'static mut [u8], max_len: u8);
    fn read_send(&self, data: &'static mut [u8], max_len: u8);
    fn listen(&self);
}Interface for an I2C Slave hardware driver.