UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
35 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
If the external interrupt is level-triggered, the external source must hold the request active
until the requested interrupt is generated. If the external interrupt is still asserted when the
interrupt service routine is completed, another interrupt will be generated. It is not
necessary to clear the interrupt flag IEn when the interrupt is level sensitive, it simply
tracks the input pin level.
If an external interrupt has been programmed as level-triggered and is enabled when the
P89LPC952/954 is put into Power-down mode or Idle mode, the interrupt occurrence will
cause the processor to wake-up and resume operation. Refer to
for details.
4.2 External Interrupt pin glitch suppression
Most of the P89LPC952/954 pins have glitch suppression circuits to reject short glitches
(please refer to the
P89LPC952/954 data sheet, Dynamic characteristics
for glitch filter
specifications). However, pins SDA/INT0/P1.3 and SCL/T0/P1.2 do not have the glitch
suppression circuits. Therefore, INT1 has glitch suppression while INT0 does not.
Table 22.
Summary of interrupts
Description
Interrupt flag
bit(s)
Vector
address
Interrupt enable
bit(s)
Interrupt
priority
Arbitration
ranking
Power-
down
wake-up
External interrupt 0
IE0
0003h
EX0 (IEN0.0)
IP0H.0, IP0.0
1 (highest)
Yes
Timer 0 interrupt
TF0
000Bh
ET0 (IEN0.1)
IP0H.1, IP0.1
4
No
External interrupt 1
IE1
0013h
EX1 (IEN0.2)
IP0H.2, IP0.2
7
Yes
Timer 1 interrupt
TF1
001Bh
ET1 (IEN0.3)
IP0H.3, IP0.3
10
No
Serial port 0 Tx and Rx
TI_0 and RI_0
0023h
ES/ESR (IEN0.4)
IP0H.4, IP0.4
13
No
Serial port 0 Rx
RI_0
Brownout detect
BOF
002Bh
EBO (IEN0.5)
IP0H.5, IP0.5
2
Yes
Watchdog timer/Real-time
clock
WDOVF/RTCF
0053h
EWDRT (IEN0.6)
IP0H.6, IP0.6
3
Yes
I
2
C interrupt
SI
0033h
EI2C (IEN1.0)
IP0H.0, IP0.0
5
No
KBI interrupt
KBIF
003Bh
EKBI (IEN1.1)
IP0H.0, IP0.0
8
Yes
Comparators 1 and 2
interrupts
CMF1/CMF2
0043h
EC (IEN1.2)
IP0H.0, IP0.0
11
Yes
SPI interrupt
SPIF
004Bh
ESPI (IEN1.3)
IP1H.3, IP1.3
14
No
Serial port 0 Tx
TI_0
006Bh
EST (IEN1.6)
IP0H.0, IP0.0
12
No
Data EEPROM
0073h
EAD (IEN1.7)
IP1H.7, IP1.7
15
No
A/D converter
ADCI0, BNDI1
0083h
EADC (IEN2.1)
IP2H.1, IP2.1
16 (lowest)
No
Serial port 1 Tx and Rx
TI_1 and RI_1
008Bh
ES1/ESR1
(IEN2.2)
IP2H.2, IP2.2
17
No
Serial port 1 Rx
RI_1
Serial port 1 Tx
TI_1
0093h
EST1 (IEN2.3)
IP2H.3, IP2.3
18
No