h8s-2646 Renesas Electronics Corporation., h8s-2646 Datasheet - Page 130

no-image

h8s-2646

Manufacturer Part Number
h8s-2646
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 5 Interrupt Controller
As shown in table 5.3, multiple interrupts are assigned to one IPR. Setting a value in the range
from H'0 to H'7 in the 3-bit groups of bits 6 to 4 and 2 to 0 sets the priority of the corresponding
interrupt. The lowest priority level, level 0, is assigned by setting H'0, and the highest priority
level, level 7, by setting H'7.
When interrupt requests are generated, the highest-priority interrupt according to the priority
levels set in the IPR registers is selected. This interrupt level is then compared with the interrupt
mask level set by the interrupt mask bits (I2 to I0) in the extend register (EXR) in the CPU, and if
the priority level of the interrupt is higher than the set mask level, an interrupt request is issued to
the CPU.
5.2.3
IER is an 8-bit readable/writable register that controls enabling and disabling of interrupt requests
IRQ5 to IRQ0.
IER is initialized to H'00 by a reset and in hardware standby mode.
Bits 7 and 6—Reserved: These bits are always read as 0, and should only be written with 0.
Bits 5 to 0—IRQ5 to IRQ0 Enable (IRQ5E to IRQ0E): These bits select whether IRQ5 to
IRQ0 are enabled or disabled.
Rev. 5.00 Sep 22, 2005 page 104 of 1136
REJ09B0257-0500
Bit n
IRQnE
0
1
Bit
Initial value
R/W
IRQ Enable Register (IER)
Description
IRQn interrupts disabled
IRQn interrupts enabled
:
:
:
R/W
7
0
R/W
6
0
IRQ5E
R/W
5
0
IRQ4E
R/W
4
0
IRQ3E
R/W
3
0
IRQ2E
R/W
2
0
IRQ1E
R/W
1
0
(Initial value)
IRQ0E
(n = 5 to 0)
R/W
0
0

Related parts for h8s-2646