embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::dma

Function copy

Source
pub unsafe fn copy<'a, C: Channel, W: Word>(
    ch: impl Peripheral<P = C> + 'a,
    from: &[W],
    to: &mut [W],
) -> Transfer<'a, C> 
Expand description

DMA copy between slices.

SAFETY: Slices must point to locations reachable by DMA.