pub trait _embedded_hal_blocking_spi_Write<W> {
    type Error;

    // Required method
    fn write(&mut self, words: &[W]) -> Result<(), Self::Error>;
}
Expand description

Blocking write

Required Associated Types§

source

type Error

Error type

Required Methods§

source

fn write(&mut self, words: &[W]) -> Result<(), Self::Error>

Sends words to the slave, ignoring all the incoming words

Implementors§

source§

impl<'d, T, TX, RX, P, M> Write<u8> for SpiDma<'d, T, TX, RX, P, M>where T: InstanceDma<TX, RX>, TX: Tx, RX: Rx, P: SpiPeripheral, M: IsFullDuplex,

§

type Error = Error

source§

impl<T, M> Write<u8> for Spi<'_, T, M>where T: Instance, M: IsFullDuplex,

§

type Error = Error

source§

impl<W, S> Write<W> for Swhere S: Default<W>, W: Clone,

§

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