Trait embedded_hal::blocking::spi::Transfer
[−]
[src]
pub trait Transfer<W> { type Error; fn transfer<'w>(
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], Self::Error>; }
Blocking transfer
Associated Types
type Error
Error type
Required Methods
fn transfer<'w>(&mut self, words: &'w mut [W]) -> Result<&'w [W], Self::Error>
Sends words
to the slave. Returns the words
received from the slave