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

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

Blocking transfer

Associated Types

type Error[src]

Error type

Loading content...

Required methods

fn transfer<'w>(&mut self, words: &'w mut [W]) -> Result<&'w [W], Self::Error>[src]

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

Loading content...

Implementors

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

type Error = S::Error

Loading content...