[][src]Trait nrf52832_hal::prelude::_embedded_hal_blocking_spi_Transfer

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

Blocking transfer

Associated Types

type Error

Error type

Loading content...

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

Loading content...

Implementors

impl<T> Transfer<u8> for Spim<T> where
    T: SpimExt
[src]

type Error = Error

impl<W, S> Transfer<W> for S where
    S: Default<W>,
    W: Clone
[src]

type Error = <S as FullDuplex<W>>::Error

Loading content...