HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 340

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 8
8.5.2
When handling multiple interrupts, an interrupt handler should include the following procedures:
1. To determine the interrupt source, branch to a specific interrupt handler corresponding to a
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 these procedures are followed in order, an interrupt of higher priority than the one being
handled can be accepted after clearing BL in step 4. Figure 8.3 shows a sample interrupt operation
flowchart.
Rev. 3.00 Jan. 18, 2008 Page 278 of 1458
REJ09B0033-0300
code set in INTEVT or INTEVT2. The code in INTEVT or INTEVT2 can be used as an offset
for branching to the specific handler.
Multiple Interrupts
Interrupt Controller (INTC)

Related parts for HD6417320