326
Chapter 25 External Interrupt
4.Registers
4.2 EIRR: Interrupt Request Register
Status bit of a request of an external interrupt.
• EIRR0 (INT0-INT7): Address 030H (access: Byte, Half-word, Word)
(About attributes, see “Meaning of Bit Attribute Symbols (Page No.10)”.)
• EIRR1 (INT8-INT15): Address 034H (access: Byte, Half-word, Word)
(About attributes, see “Meaning of Bit Attribute Symbols (Page No.10)”.)
An external interrupt request bit (ERn) indicates the corresponding external interrupt request.
Note: n = 0 to 15
4.3 ENIR: Interrupt Request Enable Register
Enable bit of external interrupt requests.
• ENIR0 (INT0-INT7): Address 031H (access: Byte, Half-word, Word)
(About attributes, see “Meaning of Bit Attribute Symbols (Page No.10)”.)
• ENIR1 (INT8-INT15): Address 035H (access: Byte, Half-word, Word)
(About attributes, see “Meaning of Bit Attribute Symbols (Page No.10)”.)
An external interrupt request enable bit (ENn) enables the corresponding external interrupt request.
Note: n = 0 to 15
765432 1 0 Bit
ER7 ER6 ER5 ER4 ER3 ER2 ER1 ER0
000000 0 0Initial value
R (RM1),W R(RM1),W R (RM1),W R(RM1), W R(RM1), W R(RM1), W
R (RM1), W R (RM1), W Attribute
765432 1 0 Bit
ER15 ER14 ER13 ER12 ER11 ER10 ER9 ER8
0 0 0 0 0 0 0 0 Initial value
R (RM1), W R (RM1),W R (RM1),W R (RM1),W R (RM1),W R (RM1),W
R (RM1), W R (RM1),W Attribute
ERn
Description
Read value Write value
0 No external interrupt request present Clear external interrupt factor bits
1 External interrupt request present No effect on operation
76543210 Bit
EN7 EN6 EN5 EN4 EN3 EN2 EN1 EN0
00000000Initial value
R/W R/W R/W R/W R/W R/W R/W R/W Attribute
76543210 Bit
EN15 EN14 EN13 EN12 EN11 EN10 EN9 EN8
00000000Initial value
R/W R/W R/W R/W R/W R/W R/W R/W Attribute
ERn Description
0 External interrupt request output disable
1 External interrupt request output enable