h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 144

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 5 Interrupt Controller
Table 5.6
Legend:
O:
IM: Used as an interrupt mask bit
PR: Sets priority
—:
5.6.1
In interrupt control mode 0, interrupt requests other than NMI are masked by ICR and the I bit of
the CCR in the CPU. Note however that the KIN, WUE, and DTI interrupt requests can be
accepted when the I bit is cleared to 0 and are held pending when the I bit is set to 1. Figure 5.5
shows a flowchart of the interrupt acceptance operation.
1. If an interrupt source occurs when the corresponding interrupt enable bit is set to 1, an
2. According to the interrupt control level specified in ICR, the interrupt controller only accepts
3. If the I bit in CCR is set to 1, only NMI and address break interrupts are accepted by the
4. When the CPU accepts an interrupt request, it starts interrupt exception handling after
5. The PC and CCR are saved to the stack area by interrupt exception handling. The PC saved on
6. Next, the I bit in CCR is set to 1. This masks all interrupts except for NMI and address break
Rev. 3.00 Jan 25, 2006 page 92 of 872
REJ09B0286-0300
Control Mode
interrupt request is sent to the interrupt controller.
an interrupt request with interrupt control level 1 (priority), and holds pending an interrupt
request with interrupt control level 0 (no priority). If several interrupt requests are issued, an
interrupt request with the highest priority is accepted according to the priority order, an
interrupt handling is requested to the CPU, and other interrupt requests are held pending.
interrupt controller, and other interrupt requests are held pending. If the I bit is cleared to 0,
any interrupt request is accepted.
execution of the current instruction has been completed.
the stack shows the address of the first instruction to be executed after returning from the
interrupt handling routine.
interrupts.
Interrupt
Interrupt operation control performed
Not used
0
1
Interrupt Control Mode 0
Operations and Control Signal Functions in Each Interrupt Control Mode
INTM1 INTM0
0
Setting
0
1
Interrupt Acceptance Control
O
O
3-Level Control
IM
IM
I
IM
UI
ICR
PR
PR
Default Priority
Determination
O
O
(Trace)
T

Related parts for h8s-2158