Function embassy_rp::dma::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.