MCURTC:ReadInterrupt

MCURTC:ReadInterrupt

Request #

Index WordDescription
0Header code [0x004D0000]

Response #

Index WordDescription
0Header code
1Result code
2Interrupt 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.