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

pub trait WriteIter {
    type Error;
    pub 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[src]

Error type

Loading content...

Required methods

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

Sends bytes to slave with address addr

I2C Events (contract)

Same as Write

Loading content...

Implementors

Loading content...