[−][src]Trait nrf52832_hal::prelude::_embedded_hal_blocking_spi_Transfer
Blocking transfer
Associated Types
Loading content...Required methods
pub fn transfer(&mut self, words: &'w mut [W]) -> Result<&'w [W], Self::Error>
[src]
Sends words
to the slave. Returns the words
received from the slave
Implementors
impl<T> Transfer<u8> for Spim<T> where
T: Instance,
[src]
T: Instance,
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
pub 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>