pub trait WriteIter<A: AddressMode = SevenBitAddress> {
    type Error;

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

Blocking write (iterator version)

Required Associated Types§

source

type Error

Error type

Required Methods§

source

fn write<B>(&mut self, address: A, bytes: B) -> Result<(), Self::Error>where B: IntoIterator<Item = u8>,

Writes bytes to slave with address address

I2C Events (contract)

Same as Write

Implementors§