[][src]Trait embedded_hal::blocking::i2c::WriteIter

pub trait WriteIter {
    type Error;
    fn write<B>(&mut self, addr: u8, bytes: B) -> Result<(), Self::Error>
    where
        B: IntoIterator<Item = u8>
; }

Blocking write (iterator version)

Associated Types

type Error

Error type

Loading content...

Required methods

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

Sends bytes to slave with address addr

I2C Events (contract)

Same as Write

Loading content...

Implementors

Loading content...