Trait async_embedded_traits::spi::AsyncTransfer [−][src]
SPI transfer
Associated Types
type Error
[src]
Transfer error
type TransferFuture: Future<Output = Result<(), Self::Error>>
[src]
Transfer future for polling on completion
Required methods
fn async_transfer<'a>(&'a mut self, data: &'a mut [u8]) -> Self::TransferFuture
[src]
Sends bytes to the slave. Returns the bytes received from the slave