pub trait WriteIter {
    type Error;

    fn write<B>(&mut self, addr: u8, bytes: B) -> Result<(), Self::Error>
    where
        B: IntoIterator<Item = u8>
; }
Expand description

Blocking write (iterator version)

Required Associated Types§

Error type

Required Methods§

Sends bytes to slave with address addr

I2C Events (contract)

Same as Write

Implementors§