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

set_control

Function set_control 

Source
pub unsafe fn set_control(ch: Channel, value: u32)
Expand description

Write the channel’s control register. With CHCR_START set this starts a transfer from whatever the address and size registers hold.

§Safety

A value with CHCR_START set must satisfy super::start’s contract for the transfer it starts. A value without it (such as 0, an abort) starts nothing.