Trait embedded_hal::blocking::spi::Transfer [] [src]

pub trait Transfer<W> {
    type Error;
    fn transfer(&mut self, words: &'w mut [W]) -> Result<&'w [W], Self::Error>;
}

Blocking transfer

Associated Types

Error type

Required Methods

Sends words to the slave. Returns the words received from the slave

Implementors