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

enable_channel

Function enable_channel 

Source
pub fn enable_channel(ch: Channel)
Expand description

Enable a channel without disturbing the others.

The read-modify-write of the global enable register runs with CPU interrupts masked: with the present-queue feature the VBlank handler sets the GPU channel’s bit in the same register, and a handler that ran between this read and write would have its bit overwritten.