ReadDma

Trait ReadDma 

Source
pub trait ReadDma<B, RS>: Receive
where B: WriteBuffer<Word = RS>, Self: Sized + TransferPayload,
{ // Required method fn read(self, buffer: B) -> Transfer<W, B, Self>; }
Expand description

Trait for DMA readings from peripheral to memory.

Required Methods§

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<B> ReadDma<B, u8> for RxDma1
where B: WriteBuffer<Word = u8>,

Source§

impl<B> ReadDma<B, u8> for RxDma2
where B: WriteBuffer<Word = u8>,

Source§

impl<B> ReadDma<B, u8> for RxDma3
where B: WriteBuffer<Word = u8>,

Source§

impl<B> ReadDma<B, u8> for RxDma4
where B: WriteBuffer<Word = u8>,

Source§

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

Source§

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

Source§

impl<B, PINS, MODE> ReadDma<B, u16> for AdcDma<ADC1, PINS, MODE, C1>
where Self: TransferPayload, B: WriteBuffer<Word = u16>,

Source§

impl<B, PINS, MODE> ReadDma<B, u16> for AdcDma<ADC3, PINS, MODE, C5>
where Self: TransferPayload, B: WriteBuffer<Word = u16>,

Source§

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

Source§

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