pub trait SpiBusWrite<Word: 'static + Copy = u8>: SpiBusFlush {
    type WriteFuture<'a>: Future<Output = Result<(), Self::Error>>
    where
        Self: 'a
; fn write<'a>(&'a mut self, words: &'a [Word]) -> Self::WriteFuture<'a>; }
Expand description

Write-only SPI

Required Associated Types

Future returned by the write method.

Required Methods

Write words to the slave, ignoring all the incoming words

Implementations are allowed to return before the operation is complete. See (the docs on embedded-hal)embedded_hal::spi::blocking for details on flushing.

Implementations on Foreign Types

Implementors