| ARM Technical Support Knowledge Articles | |
Applies to: ARM1020/22E, ARM1026EJ-S, ARM1136, ARM720T, ARM7EJ-S, ARM7TDMI, ARM7TDMI-S, ARM920/922T, ARM926EJ-S, ARM940T, ARM946E-S, ARM966E-S, ARM9TDMI
When an exception occurs, the following happens inside the core:
* There are two interrupt disable bits, one for FIQ, one for IRQ. When ANY exception occurs, the disable interrupt bit is set, to disable IRQ. If the exception was FIQ or Reset, then the FIQ disable bit is also set.
The interrupt handler should clear the source of the interrupt before re-enabling further interrupts. One must be very careful when re-enabling interrupts in your handler that you have taken the appropriate steps to allow for re-entrant interrupts. For more information and example code, see the "Handling Processor Exceptions" chapter of the ADS Developer Guide (3MB PDF) or the RVCT Developer Guide (2MB PDF), or section 9.5 of the SDT 2.50 User Guide (7MB PDF) .
See also:
Article last edited on: 2008-09-09 15:47:36
Did you find this article helpful? Yes No
How can we improve this article?