pub unsafe fn copy<'a, C: Channel, W: Word>( ch: impl Peripheral<P = C> + 'a, from: &[W], to: &mut [W], ) -> Transfer<'a, C> ⓘ
DMA copy between slices.
SAFETY: Slices must point to locations reachable by DMA.