embedded_hal::blocking::spi

Trait Write

source
pub trait 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<W, S> Write<W> for S
where S: Default<W>, W: Clone,

source§

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