© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
24
Philips Semiconductors
UM10139
Volume 1
Chapter 3: System Control Block
3.5.5 External
Interrupt
Polarity register (EXTPOLAR - 0xE01F C14C)
In level-sensitive mode, the bits in this register select whether the corresponding pin is
high- or low-active. In edge-sensitive mode, they select whether the pin is rising- or
falling-edge sensitive. Only pins that are selected for the EINT function (see "Pin Connect
Block" chapter on page 75) and enabled in the VICIntEnable register (
“Interrupt Enable register (VICIntEnable - 0xFFFF F010)” on page 54
) can cause
interrupts from the External Interrupt function (though of course pins selected for other
functions may cause interrupts from those functions).
Note: Software should only change a bit in this register when its interrupt is
disabled in the VICIntEnable register, and should write the corresponding 1 to the
EXTINT register before enabling (initializing) or re-enabling the interrupt, to clear
the EXTINT bit that could be set by changing the polarity.
1
EINT1 is edge sensitive.
2
EXTMODE2 0
Level-sensitivity is selected for EINT2.
0
1
EINT2 is edge sensitive.
3
EXTMODE3 0
Level-sensitivity is selected for EINT3.
0
1
EINT3 is edge sensitive.
7:4
-
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
Table 11:
External Interrupt Mode register (EXTMODE - address 0xE01F C148) bit
description
Bit
Symbol
Value
Description
Reset
value
Table 12:
External Interrupt Polarity register (EXTPOLAR - address 0xE01F C14C) bit
description
Bit
Symbol
Value
Description
Reset
value
0
EXTPOLAR0 0
EINT0 is low-active or falling-edge sensitive (depending on
EXTMODE0).
0
1
EINT0 is high-active or rising-edge sensitive (depending on
EXTMODE0).
1
EXTPOLAR1 0
EINT1 is low-active or falling-edge sensitive (depending on
EXTMODE1).
0
1
EINT1 is high-active or rising-edge sensitive (depending on
EXTMODE1).
2
EXTPOLAR2 0
EINT2 is low-active or falling-edge sensitive (depending on
EXTMODE2).
0
1
EINT2 is high-active or rising-edge sensitive (depending on
EXTMODE2).
3
EXTPOLAR3 0
EINT3 is low-active or falling-edge sensitive (depending on
EXTMODE3).
0
1
EINT3 is high-active or rising-edge sensitive (depending on
EXTMODE3).
7:4
-
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA