[][src]Trait embedded_hal::blocking::spi::Transactional

pub trait Transactional<W: 'static> {
    type Error;
    fn try_exec<'a>(
        &mut self,
        operations: &mut [Operation<'a, W>]
    ) -> Result<(), Self::Error>; }

Transactional trait allows multiple actions to be executed as part of a single SPI transaction

Associated Types

type Error

Associated error type

Loading content...

Required methods

fn try_exec<'a>(
    &mut self,
    operations: &mut [Operation<'a, W>]
) -> Result<(), Self::Error>

Execute the provided transactions

Loading content...

Implementors

impl<W: 'static, E, S> Transactional<W> for S where
    S: Default<W> + Write<W, Error = E> + Transfer<W, Error = E>,
    W: Copy + Clone
[src]

type Error = E

Loading content...