Trait embedded_hal_async::spi::SpiBusFlush
source · [−]pub trait SpiBusFlush: ErrorType {
type FlushFuture<'a>: Future<Output = Result<(), Self::Error>>
where
Self: 'a;
fn flush<'a>(&'a mut self) -> Self::FlushFuture<'a>;
}
Expand description
Flush support for SPI bus
Required Associated Types
Required Methods
fn flush<'a>(&'a mut self) -> Self::FlushFuture<'a>
fn flush<'a>(&'a mut self) -> Self::FlushFuture<'a>
Wait until all operations have completed and the bus is idle.
See (the docs on embedded-hal)embedded_hal::spi::blocking for information on flushing.