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

Flush support for SPI bus

Required Methods§

source

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

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

See the module-level documentation for important usage information.

Implementations on Foreign Types§

source§

impl<T: SpiBusFlush> SpiBusFlush for &mut T

source§

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

Implementors§