Skip to main content

Mem2MemCapableChannel

Trait Mem2MemCapableChannel 

Source
pub trait Mem2MemCapableChannel<'d>: DmaChannel {
    // Required method
    fn mem2mem_id(&self) -> DmaPeripheral;
}
Available on crate feature unstable only.
Expand description

A DMA channel singleton that supports memory-to-memory transfers on this chip.

Only channels listed in device metadata (mem2mem = true) implement this trait. Use Mem2Mem::new to construct a transfer engine from such a channel.

Required Methods§

Source

fn mem2mem_id(&self) -> DmaPeripheral

Peripheral selector programmed for memory-to-memory on this channel.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§