[−][src]Trait stm32f103xx_hal::prelude::_embedded_hal_blocking_spi_Transfer
Blocking transfer
Associated Types
type Error
Error type
Required methods
fn transfer(&mut self, words: &'w mut [W]) -> Result<&'w [W], Self::Error>
Sends words
to the slave. Returns the words
received from the slave
Implementors
impl<PINS: Pins<SPI2>> Transfer<u8> for DmaSpi<PINS>
[src]
type Error = Error
fn transfer<'w>(&mut self, words: &'w mut [u8]) -> Result<&'w [u8], Self::Error>
[src]
impl<W, S> Transfer<W> for S where
S: Default<W>,
W: Clone,
[src]
S: Default<W>,
W: Clone,
type Error = <S as FullDuplex<W>>::Error
fn transfer(
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>
[src]
&mut self,
words: &'w mut [W]
) -> Result<&'w [W], <S as FullDuplex<W>>::Error>