[−][src]Trait bl602_hal::prelude::_embedded_hal_blocking_i2c_WriteIterRead
Blocking write (iterator version) + read
Associated Types
type Error
Error type
Required methods
fn try_write_iter_read<B>(
&mut self,
address: A,
bytes: B,
buffer: &mut [u8]
) -> Result<(), Self::Error> where
B: IntoIterator<Item = u8>,
&mut self,
address: A,
bytes: B,
buffer: &mut [u8]
) -> Result<(), Self::Error> where
B: IntoIterator<Item = u8>,
Sends bytes to slave with address address
and then reads enough bytes to fill buffer
in a
single transaction
I2C Events (contract)
Same as the WriteRead
trait