EasyManua.ls Logo

Abov A96G174 - External Interrupt Flag Register (EIFLAG0 and EIFLAG1); External Interrupt Polarity Register (EIPOL0 L, EIPOL0 H, and EIPOL1); Register Map; Table 9. Interrupt Register Map

Abov A96G174
211 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A96G174/A96S174 User’s manual 7. Interrupt controller
65
After a reset, IP and IP1 are cleared to ‘00H’. If interrupts have the same priority level, lower number
interrupt is served first.
7.12.3 External Interrupt Flag Register (EIFLAG0 and EIFLAG1)
External Interrupt Flag 0 Register (EIFLAG0) and External Interrupt Flag 1 Register (EIFLAG1) are set
to ‘1’ when the external interrupt generating condition is satisfied. These flags are cleared when the
interrupt service routine is executed. Alternatively, these flags can be cleared by writing ‘0’ on to
themselves.
7.12.4 External Interrupt Polarity Register (EIPOL0L, EIPOL0H, and EIPOL1)
External Interrupt Polarity0 high/low Register (EIPOL0H/L) and External Interrupt Polarity1 Register
(EIPOL1) determines an edge type from rising edge, falling edge, and both edges of interrupt. Initially,
default value is no interrupt at any edge.
7.12.5 Register map
Table 9. Interrupt Register Map
Name
Address
Direction
Default
Description
IE
A8H
R/W
00H
Interrupt Enable Register
IE1
A9H
R/W
00H
Interrupt Enable Register 1
IE2
AAH
R/W
00H
Interrupt Enable Register 2
IP
B8H
R/W
00H
Interrupt PriorityRegister
IP1
F8H
R/W
00H
Interrupt PriorityRegister 1
EIFLAG
C0H
R/W
00H
External Interrupt Flag Register
EIPOL
A4H
R/W
00H
External Interrupt Polarity Register

Table of Contents