HD6417606 RENESAS [Renesas Technology Corp], HD6417606 Datasheet - Page 128

no-image

HD6417606

Manufacturer Part Number
HD6417606
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 6 Interrupt Controller (INTC)
6.6
6.6.1
The sequence of interrupt operations is explained below. Figure 6.3 is a flowchart of the
operations.
1. The interrupt request sources send interrupt request signals to the interrupt controller.
2. The interrupt controller selects the highest priority interrupt from interrupt requests sent,
3. The interrupt controller compares the priority level of the selected interrupt request with the
4. The CPU detects the interrupt request sent from the interrupt controller in the decode stage of
5. SR and PC are saved onto the stack.
6. The priority level of the accepted interrupt is copied to bits (I3 to I0) in SR.
7. The CPU reads the start address of the exception handling routine from the exception vector
Note: * Interrupt requests that are designated as edge-detect type are held pending until the
Rev. 4.00 Sep. 13, 2007 Page 102 of 502
REJ09B0239-0400
according to the priority levels set in interrupt priority level setting registers A to E (IPRA to
IPRE). Interrupts that have lower-priority than that of the selected interrupt are ignored*. If
interrupts that have the same priority level or interrupts within a same module occur
simultaneously, the interrupt with the highest priority is selected according to the priority
shown in table 6.2.
interrupt mask bits (I3 to I0) in the status register (SR) of the CPU. If the priority level of the
selected request is equal to or less than the level set in bits I3 to I0, the request is ignored. If
the priority level of the selected request is higher than the level in bits I3 to I0, the interrupt
controller accepts the request and sends an interrupt request signal to the CPU.
an instruction to be executed. Instead of executing the decoded instruction, the CPU starts
interrupt exception handling (see figure 6.5).
table for the accepted interrupt, branches to that address, and starts executing the program.
This branch is not a delayed branch.
Interrupt Operation
Interrupt Sequence
interrupt requests are accepted. IRQ interrupts, however, can be cancelled by accessing
the IRQ status register (IRQSR). Interrupts held pending due to edge detection are
cleared by a power-on reset or an H-UDI reset.

Related parts for HD6417606