Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

set_madr

Function set_madr 

Source
pub unsafe fn set_madr(ch: Channel, addr: u32)
👎Deprecated:

a safe address store lets safe code aim DMA anywhere in RAM; use the unsafe dma::start, or dma::raw::set_address for probes

Expand description

Write the channel’s RAM address register.

§Safety

The value arms or starts a transfer on ch; see start’s contract.