SpiRxDma

Type Alias SpiRxDma 

Source
pub type SpiRxDma<SPI, CHANNEL, PULL = Floating> = RxDma<Spi<SPI, u8, PULL>, CHANNEL>;

Aliased Type§

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

Fields§

§channel: CHANNEL

Implementations§

Source§

impl<PULL> SpiRxDma<SPI1, C2, PULL>

Source

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

Source§

impl<PULL> SpiRxDma<SPI2, C4, PULL>

Source

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

Trait Implementations§

Source§

impl<B, PULL> ReadDma<B, u8> for SpiRxDma<SPI2, C4, PULL>
where B: WriteBuffer<Word = u8>,

Source§

fn read(self, buffer: B) -> Transfer<W, B, Self>

Source§

impl<B, PULL> ReadDma<B, u8> for SpiRxDma<SPI1, C2, PULL>
where B: WriteBuffer<Word = u8>,

Source§

fn read(self, buffer: B) -> Transfer<W, B, Self>

Source§

impl<PULL> Receive for SpiRxDma<SPI2, C4, PULL>

Source§

impl<PULL> Receive for SpiRxDma<SPI1, C2, PULL>

Source§

impl<PULL> TransferPayload for SpiRxDma<SPI2, C4, PULL>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)

Source§

impl<PULL> TransferPayload for SpiRxDma<SPI1, C2, PULL>

Source§

fn start(&mut self)

Source§

fn stop(&mut self)