h8s-2649 Renesas Electronics Corporation., h8s-2649 Datasheet - Page 123

no-image

h8s-2649

Manufacturer Part Number
h8s-2649
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
5.6.2
In interrupt control mode 2, mask control is applied to eight levels for interrupt requests other than
NMI by comparing the EXR interrupt mask level (I2 to I0 bits) in the CPU and the IPR setting.
Figure 5.4 shows a flowchart of the interrupt acceptance operation in this case.
1. If an interrupt source occurs when the corresponding interrupt enable bit is set to 1, an interrupt
2. When interrupt requests are sent to the interrupt controller, the interrupt with the highest
3. Next, the priority of the selected interrupt request is compared with the interrupt mask level set
4. When the CPU accepts an interrupt request, it starts interrupt exception handling after
5. The PC, CCR, and EXR are saved to the stack area by interrupt exception handling. The PC
6. The T bit in EXR is cleared to 0. The interrupt mask level is rewritten with the priority level of
7. The CPU generates a vector address for the accepted interrupt and starts execution of the
request is sent to the interrupt controller.
priority according to the interrupt priority levels set in IPR is selected, and lower-priority
interrupt requests are held pending. If a number of interrupt requests with the same priority are
generated at the same time, the interrupt request with the highest priority according to the
priority system shown in table 5.2 is selected.
in EXR. An interrupt request with a priority no higher than the mask level set at that time is
held pending, and only an interrupt request with a priority higher than the interrupt mask level
is accepted.
execution of the current instruction has been completed.
saved on the stack shows the address of the first instruction to be executed after returning from
the interrupt handling routine.
the accepted interrupt. If the accepted interrupt is NMI, the interrupt mask level is set to H′7.
interrupt handling routine at the address indicated by the contents of the vector address in the
vector table.
Interrupt Control Mode 2
Rev. 2.00 Dec. 05, 2005 Page 85 of 724
Section 5 Interrupt Controller
REJ09B0200-0200

Related parts for h8s-2649