Function ctru_sys::DSP_RegisterInterruptEvents
source · pub unsafe extern "C" fn DSP_RegisterInterruptEvents(
handle: Handle,
interrupt: u32_,
channel: u32_
) -> Result
Expand description
Registers an event handle with the DSP through IPC
§Arguments
handle
- Event handle to register.interrupt
- The type of interrupt that will trigger the event. Usual value is DSP_INTERRUPT_PIPE.channel
- The pipe channel. Usual value is 2
Note: It is possible that interrupt are inverted