CircReadDma

Trait CircReadDma 

Source
pub trait CircReadDma<B, RS>: Receive
where &'static mut [B; 2]: WriteBuffer<Word = RS>, B: 'static, Self: Sized,
{ // Required method fn circ_read(self, buffer: &'static mut [B; 2]) -> CircBuffer<B, Self>; }
Expand description

Trait for circular DMA readings from peripheral to memory.

Required Methods§

Source

fn circ_read(self, buffer: &'static mut [B; 2]) -> CircBuffer<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> CircReadDma<B, u8> for RxDma1
where &'static mut [B; 2]: WriteBuffer<Word = u8>, B: 'static,

Source§

impl<B> CircReadDma<B, u8> for RxDma2
where &'static mut [B; 2]: WriteBuffer<Word = u8>, B: 'static,

Source§

impl<B> CircReadDma<B, u8> for RxDma3
where &'static mut [B; 2]: WriteBuffer<Word = u8>, B: 'static,

Source§

impl<B> CircReadDma<B, u8> for RxDma4
where &'static mut [B; 2]: WriteBuffer<Word = u8>, B: 'static,

Source§

impl<B, PINS, MODE> CircReadDma<B, u16> for AdcDma<ADC1, PINS, MODE, C1>
where Self: TransferPayload, &'static mut [B; 2]: WriteBuffer<Word = u16>, B: 'static,

Source§

impl<B, PINS, MODE> CircReadDma<B, u16> for AdcDma<ADC3, PINS, MODE, C5>
where Self: TransferPayload, &'static mut [B; 2]: WriteBuffer<Word = u16>, B: 'static,