Will interrupt held pending then executed if interrupt-enable is set?
- Last updated
- 13:00, 8 Feb 2017
Save as PDF
When using a mask bit in the interrupt control register to enable or disable interrupts, if an interrupt request occurs while switching from interrupt-disabled state to interrupt-enabled state, will the interrupt be held pending and then executed when the interrupt-enable state is set?
When 8-bit access is used to clear masks (such as when a C program does not directly manipulate bits in the interrupt control register but expands to multiple instructions), any interrupt request up to that point is deleted.
When direct bit manipulation is used to clear masks, interrupts that have been requested before then are acknowledged once the mask has been cleared.