
6. Interrupt controller
MC97F6108A User’s manual
68
EIPOLA (External Interrupt Flag Polarity Register) : A6H
7
6
5
4
3
2
1
0
-
-
-
-
-
POLA2
POLA1
POLA0
-
-
-
-
-
R/W
R/W
R/W
Initial value : 0H
According to EIEDGE, this register acts differently. If EIEDGE is level
type, external interrupt polarity have level value. If EIEDGE is edge type,
external interrupt polarity have edge value.
POLA2
Determine the polarity of External Interrupt 2
0
When High level or rising edge, Interrupt occurs(default)
1
When Low level or falling edge, Interrupt occurs
POLA1
Determine the polarity of External Interrupt 1
0
When High level or rising edge, Interrupt occurs(default)
1
When Low level or falling edge, Interrupt occurs
POLA0
Determine the polarity of External Interrupt 0
0
When High level or rising edge, Interrupt occurs(default)
1
When Low level or falling edge, Interrupt occurs
EIBOTH (External Interrupt Flag Both Edge Enable Register) : A7H
7
6
5
4
3
2
1
0
-
-
-
-
-
BOTH2
BOTH1
BOTH0
-
-
-
-
-
R/W
R/W
R/W
Initial value : 0H
If BOTHx
is written to ‘1’, the corresponding external pin interrupt is
enabled by both edges(no level).
And EIEDGE and EIPOLA register value are ignored.
BOTH2
Determine the type of External Interrupt 2
0
Both edge detection Disable (default)
1
Both edge detection Enable
BOTH1
Determine the type of External Interrupt 1
0
Both edge detection Disable (default)
1
Both edge detection Enable
BOTH0
Determine the type of External Interrupt 0
0
Both edge detection Disable (default)
1
Both edge detection Enable