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

pub trait TransferInplace<W = u8> {
    type Error: Error;
    fn transfer_inplace(&mut self, words: &mut [W]) -> Result<(), Self::Error>;
}
Expand description

Blocking transfer with single buffer (in-place)

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.

Implementations on Foreign Types

Implementors