SpiTxDma

Type Alias SpiTxDma 

Source
pub type SpiTxDma<SPI, CHANNEL, PULL = Floating> = TxDma<Spi<SPI, u8, PULL>, CHANNEL>;

Aliased Type§

pub struct SpiTxDma<SPI, CHANNEL, PULL = Floating> {
    pub channel: CHANNEL,
    /* private fields */
}

Fields§

§channel: CHANNEL

Implementations§

Source§

impl<PULL> SpiTxDma<SPI1, C3, PULL>

Source

pub fn release(self) -> (Spi<SPI1, u8, PULL>, C3)

Source§

impl<PULL> SpiTxDma<SPI2, C5, PULL>

Source

pub fn release(self) -> (Spi<SPI2, u8, PULL>, C5)

Trait Implementations§

Source§

impl<PULL> TransferPayload for SpiTxDma<SPI2, C5, PULL>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PULL> TransferPayload for SpiTxDma<SPI1, C3, PULL>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PULL> Transmit for SpiTxDma<SPI2, C5, PULL>

Source§

impl<PULL> Transmit for SpiTxDma<SPI1, C3, PULL>

Source§

impl<B, PULL> WriteDma<B, u8> for SpiTxDma<SPI2, C5, PULL>
where B: ReadBuffer<Word = u8>,

Source§

fn write(self, buffer: B) -> Transfer<R, B, Self>

Source§

impl<B, PULL> WriteDma<B, u8> for SpiTxDma<SPI1, C3, PULL>
where B: ReadBuffer<Word = u8>,

Source§

fn write(self, buffer: B) -> Transfer<R, B, Self>