_embedded_hal_blocking_spi_Write

Trait _embedded_hal_blocking_spi_Write 

Source
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<SPI: Instance, PULL> Write<u8> for Spi<SPI, u8, PULL>

Source§

impl<SPI: Instance, PULL> Write<u16> for Spi<SPI, u16, PULL>

Source§

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

Source§

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