Dtp/Interrupt Cause Register (Eirr) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

18.4.1

DTP/interrupt Cause Register (EIRR)

The DTP/interrupt cause register (EIRR) stores and clears interrupt causes.
■ DTP/interrupt Cause Register (EIRR)
bit
Address
ER7 ER6 ER5 ER4 ER3 ER2 ER1 ER0
000031
H
R/W
: Read/write
Table 18.4-1 Function Description of Each Bit of the DTP/interrupt Cause Register (EIRR)
Bit name
bit15
ER7 to ER0:
to
External interrupt
bit8
request flag bits
Notes:
• The value of the DTP/external interrupt request flag bit (EIRR:ER) is valid only when the
corresponding DTP/external interrupt request enable bit (ENIR:EN) is set to "1". When the DTP/
external interrupt is not enabled (ENIR:EN=0), the DTP/external interrupt cause bit may be set
regardless of the presence or absence of a DTP/external interrupt cause.
• Immediately before enabling the DTP/external interrupt (ENIR:EN=1), clear the corresponding
DTP/external interrupt request flag bit (EIRR:ER).
Figure 18.4-2 DTP/interrupt Cause Register (EIRR)
15
14
13
12
R/W
R/W
R/W
R/W
R/W
ER7
ER0
0
1
• Each of these bits is set to "1" if a signal with the edge or level selected by bits LB7,
LA7 to LB0, LA0 of 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.
(Note)
If more than one external interrupt request output is enabled (ENIR: EN7 to EN0 =
1), clear only the bit that caused the CPU to accept an interrupt (bits ER7 to ER0 set to
"1"). Do not clear the other bits without a reason.
(Reference)
When the extended intelligent I/O service (EI²OS) is activated, the corresponding
external interrupt request flag bit is automatically cleared when the transfer of one
data ends.
CHAPTER 18 DTP/EXTERNAL INTERRUPT CIRCUIT
11
10
9
8
7
R/W
R/W
R/W
External interrupt request flag bit
Read
No DTP/external interrupt is input
A DTP/external interrupt is input
Function
0
Initial value
(ENIR)
XXXXXXXX
B
Write
This bit is cleared
No effect
521

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents