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, C, M> Write<u8> for SpiDma<'d, T, C, M>
where T: InstanceDma<<C as ChannelTypes>::Tx<'d>, <C as ChannelTypes>::Rx<'d>>, C: ChannelTypes, <C as ChannelTypes>::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<T, const SIZE: usize> Write<u8> for FlashSafeDma<T, SIZE>
where T: Write<u8>,

§

type Error = <T as Write<u8>>::Error

source§

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

§

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