cortex_m::prelude

Trait _embedded_hal_blocking_spi_Write

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§

type Error

Error type

Required Methods§

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

Sends words to the slave, ignoring all the incoming words

Implementors§

§

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

§

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