Function ctru_sys::svcBindInterrupt
source · pub unsafe extern "C" fn svcBindInterrupt(
interruptId: u32_,
eventOrSemaphore: Handle,
priority: s32,
isManualClear: bool
) -> Result
Expand description
Binds an event or semaphore handle to an ARM11 interrupt.
§Arguments
interruptId
- Interrupt identfier (see https://www.3dbrew.org/wiki/ARM11_Interrupts).eventOrSemaphore
- Event or semaphore handle to bind to the given interrupt.priority
- Priority of the interrupt for the current process.isManualClear
- Indicates whether the interrupt has to be manually cleared or not (= level-high active).