pub trait SpiBusFlush: ErrorType {
    // Required method
    async fn flush(&mut self) -> Result<(), Self::Error>;
}
Expand description

Flush support for SPI bus

Required Methods§

source

async fn flush(&mut self) -> Result<(), Self::Error>

Wait until all operations have completed and the bus is idle.

See (the docs on embedded-hal)embedded_hal::spi for information on flushing.

Implementations on Foreign Types§

source§

impl<T: SpiBusFlush> SpiBusFlush for &mut T

source§

async fn flush(&mut self) -> Result<(), Self::Error>

Implementors§