Embassy
embassy-rp

Crates

git

Versions

rp2040

Flavors

Function embassy_rp::dma::write

source ·
pub unsafe fn write<'a, C: Channel, W: Word>(
    ch: impl Peripheral<P = C> + 'a,
    from: *const [W],
    to: *mut W,
    dreq: u8
) -> Transfer<'a, C> 
Expand description

DMA write.

SAFETY: Slice must point to a valid location reachable by DMA.