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

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

Blocking transfer

Associated Types

Error type

Required methods

Writes and reads simultaneously. The contents of words are written to the slave, and the received words are stored into the same words buffer, overwriting it.

Implementors