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

Blocking transfer

Associated Types

Error type

Required methods

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

Implementors

Implement Transfer for Spi structs that can Receive

The transfer accepts a slice of primitive integers, depending on the CharSize (u8 or u16).

Implement Transfer for Spi structs that can Receive

The transfer accepts a slice of primitive integers, depending on the CharSize (u8 or u16).