ReadDma

Trait ReadDma 

Source
pub trait ReadDma<B, RS>: Receive
where B: StaticWriteBuffer<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, PINS> ReadDma<B, u8> for SpiRxDma<SPI1, PINS, C2>
where B: StaticWriteBuffer<Word = u8>,

Source§

impl<B, PINS> ReadDma<B, u8> for SpiRxDma<SPI3, PINS, C1>
where B: StaticWriteBuffer<Word = u8>,