MCURTC:ReadInterrupt
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Request
Index Word | Description |
---|---|
0 | Header code [0x004D0000] |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Interrupt mask |
Description
This reads the interrupt field from the MCU device.
Use EnterExclusiveInterruptMode (mcu::RTC 0x004C0000) to stop the internal event loop and gain exclusive access to the interrupt field. Please use TriggerInterrupt to deliver the interrupt mask to the mcu sysmodule unless you wanna filter MCU interrupts, otherwise things like HOME or Power button won't function. After you no longer need exclusive access and/or exiting the program, use ExitExclusiveInterruptMode (mcu::RTC 0x004B0000) to unfreeze the internal event loop.
Use svcBindInterrupt with InterruptID 0x71 to create a handle on which you can wait for an MCU interrupt.