![](http://datasheet.mmic.net.cn/330000/MB90F562_datasheet_16437954/MB90F562_433.png)
14.4
14.4.1 DTP/interrupt cause register (EIRR)
DTP/External Interrupt Circuit Registers
MB90560 series
CHAPTER 14 DTP/EXTERNAL INTERRUPT CIRCUIT
409
The DTP/interrupt cause register (EIRR) stores and clears interrupt causes.
I
DTP/interrupt cause register (EIRR)
Figure 14.4-2 DTP/interrupt cause register (EIRR)
Table 14.4-1 Function description of each bit of the DTP/interrupt cause register (EIRR)
Bit name
Function
bit15
bit14
bit13
bit12
bit11
bit10
bit9
bit8
ER7 to ER0:
External interrupt
request flag bits
Each of these bits is set to “1” if a signal with the edge or
level selected by the request level setting register (ELVR) is
input to the DTP/external interrupt pin (stores an interrupt
cause).
If these bits and corresponding bits EN7 to EN0 of the DTP/
interrupt enable register (ENIR) are “1”, an interrupt request
is output to the CPU.
Writing “0” to this bit clears the bit. Writing “1” to this bit
does not change the bit value and has no effect on other
bits.
<Caution>
If more than one external interrupt request enable bit is set to “1”
(ENIR: EN7 to EN0 = 1), clear only the bit that caused the CPU to
accept an interrupt (ER3 to ER0 that is set to “1”). Do not clear the
other bits without reason.
<Reference>
When the extended intelligent I/O service (EI2OS) is acti-
vated, the corresponding external interrupt request flag bit
is automatically cleared when the transfer of one data ends.
Address
(ENIR)
R/W
R/W
R/W
R/W
Initial value
00000000
B
000031
H
ER7 ER6
ER5
ER4 ER3
ER2 ER1
ER0
External interrupt request flag bit
Reading
No DTP/external interrupt is input.
A DTP/external interrupt is input.
This bit is cleared.
No change, no effect on other bus
0
1
Writing
ER7
ER0
R/W : Read/write enabled
:
Initial value
bit15 bit14 bit13 bit12 bit11 bit10
bit9
bit8 bit7
bit0
R/W
R/W
R/W
R/W