pub trait SpiBusWrite<Word: Copy + 'static = u8>: SpiBusFlush {
    // Required method
    fn write(&mut self, words: &[Word]) -> Result<(), Self::Error>;
}
Expand description

Write-only SPI bus

Required Methods§

source

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

Write words to the slave, ignoring all the incoming words

Implementations are allowed to return before the operation is complete. See the module-level documentation for details.

Implementations on Foreign Types§

source§

impl<T: SpiBusWrite<Word>, Word: Copy + 'static> SpiBusWrite<Word> for &mut T

source§

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

Implementors§