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

set_chcr

Function set_chcr 

Source
pub unsafe fn set_chcr(ch: Channel, value: u32)
👎Deprecated:

a safe control store starts DMA from safe code; use the unsafe dma::start, dma::abort to stop a channel, or dma::raw::set_control for probes

Expand description

Write the control register. Starts the transfer if CHCR_START is set.

§Safety

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