HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 254

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
8.5.2
Multiple Interrupts
When handling multiple interrupts, an interrupt handler should include the following procedures:
1. Branch to a specific interrupt handler corresponding to a code set in INTEVT2. The code in
INTEVT2 can be used as an offset for branching to the specific handler.
2. Clear the interrupt source in each specific handler.
3. Save SSR and SPC to memory.
4. Clear the BL bit in SR, and set the accepted interrupt level in the interrupt mask bits in SR.
5. Handle the interrupt.
6. Execute the RTE instruction.
When the sequence of interrupt operations is described above, if an interrupt of higher priority
than the one being handled occurs directly after execution of the operation in step 4, it can be
accepted.
Rev. 1.00, 02/04, page 216 of 804

Related parts for HD6417660