Trait embedded_hal::blocking::spi::Transactional
source · pub trait Transactional<W: 'static> {
type Error;
// Required method
fn exec<'a>(
&mut self,
operations: &mut [Operation<'a, W>],
) -> Result<(), Self::Error>;
}
Expand description
Transactional trait allows multiple actions to be executed as part of a single SPI transaction