WriteDma

Trait WriteDma 

Source
pub trait WriteDma<B, TS>: Transmit
where B: ReadBuffer<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> WriteDma<B, u8> for TxDma1
where B: ReadBuffer<Word = u8>,

Source§

impl<B> WriteDma<B, u8> for TxDma2
where B: ReadBuffer<Word = u8>,

Source§

impl<B> WriteDma<B, u8> for TxDma3
where B: ReadBuffer<Word = u8>,

Source§

impl<B> WriteDma<B, u8> for TxDma4
where B: ReadBuffer<Word = u8>,

Source§

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

Source§

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

Source§

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

Source§

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