[][src]Trait avr_hal_generic::prelude::_embedded_hal_blocking_spi_Transfer

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

Blocking transfer

Associated Types

type Error[src]

Error type

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

Loading content...

Implementors

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

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

Loading content...