Trait microbit::hal::prelude::_embedded_hal_blocking_spi_Write[]

pub trait _embedded_hal_blocking_spi_Write<W> {
    type Error;
    fn write(&mut self, words: &[W]) -> Result<(), Self::Error>;
}
Expand description

Blocking write

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<T> Write<u8> for Spim<T> where
    T: Instance
[src]

type Error = Error

pub fn write(&mut self, words: &'w [u8]) -> Result<(), Error>[src]

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

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

pub fn write(&mut self, words: &[W]) -> Result<(), <S as FullDuplex<W>>::Error>