embassy-rp

Crates

git

Versions

rp235xa

Flavors

embassy_rp::dma

Function write_repeated

Source
pub unsafe fn write_repeated<'a, C: Channel, W: Word>(
    ch: impl Peripheral<P = C> + 'a,
    to: *mut W,
    len: usize,
    dreq: TreqSel,
) -> Transfer<'a, C> 
Expand description

DMA repeated write.

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