Trait embedded_hal_async::spi::SpiBusWrite
source · pub trait SpiBusWrite<Word: 'static + Copy = u8>: SpiBusFlush {
async fn write(&mut self, words: &[Word]) -> Result<(), Self::Error>;
}
Expand description
Write-only SPI
pub trait SpiBusWrite<Word: 'static + Copy = u8>: SpiBusFlush {
async fn write(&mut self, words: &[Word]) -> Result<(), Self::Error>;
}
Write-only SPI