uint32_t getIntFlag(int irq)
Return the state of the interrupt request flag for the specified interrupt. The return value will be 0 if the flag is not set, and non-zero if the flag is set.
The current interrupt flag state - 0 for not set, 1 for set.
getIntFlag() does not conform to any external API, it is unique to the chipKIT system.
Test an interrupt flag:
if (getIntFlag(_TIMER_3_IRQ)) {
// Do something
clearIntFlag(_TIMER_3_IRQ);
}
attachInterrupt(), detachInterrupt(), clearIntEnable(), clearIntFlag(), clearIntVector(), disableInterrupts(), enableInterrupts(), getIntPriority(), getIntVector(), restoreIntEnable(), restoreInterrupts(), setIntEnable(), setIntPriority(), setIntVector()