Trait async_embedded_traits::i2c::AsyncI2cRead [−][src]
I2C read
Associated Types
type Error
[src]
Read error
type ReadFuture: Future<Output = Result<(), Self::Error>>
[src]
Read future for polling on completion
Required methods
fn async_read<'a>(
&'a mut self,
address: A,
data: &'a mut [u8]
) -> Self::ReadFuture
[src]
&'a mut self,
address: A,
data: &'a mut [u8]
) -> Self::ReadFuture
Reads bytes from the slave