WriteDma

Trait WriteDma 

Source
pub trait WriteDma<B, TS>: Transmit
where B: StaticReadBuffer<Word = TS>, Self: Sized + TransferPayload,
{ // Required method fn write(self, buffer: B) -> Transfer<R, B, Self>; }
Expand description

Trait for DMA writing from memory to peripheral.

Required Methods§

Source

fn write(self, buffer: B) -> Transfer<R, 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> WriteDma<B, u8> for SpiTxDma<SPI1, PINS, C3>
where B: StaticReadBuffer<Word = u8>,

Source§

impl<B, PINS> WriteDma<B, u8> for SpiTxDma<SPI3, PINS, C2>
where B: StaticReadBuffer<Word = u8>,