UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
36 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
5.
I/O ports
The P89LPC952/954 has four I/O ports: Port 0, Port 1, Port 2, Port 3, Port 4, and Port 5.
Ports 0, 1, 4 and 5 are 8-bit ports, Port 2 is a 6-bit port, and Port 3 is a 2-bit port. The exact
number of I/O pins available depends upon the clock and reset options chosen (see
).
Fig 9.
Interrupt sources, interrupt enables, and power-down wake-up sources.
002aab408
IE0
EX0
IE1
EX1
BOF
EBO
KBIF
EKBI
interrupt
to CPU
wake-up
(if in power-down)
EWDRT
CMF2
CMF1
EC
EA (IE0.7)
TF1
ET1
TI_0 and RI_0/RI_0
ES/ESR
TI_0
EST
SI
EI2C
SPIF
ESPI
RTCF
ERTC
(RTCCON.1)
WDOVF
TF0
ET0
TI_1 and RI_1/RI_1
(1)
ES1/ESR1
TI_1
EADC
EST1
ENADCI0
ADCI0
ENBI0
BNDI0
Table 23.
Number of I/O pins available
Clock source
Reset option
Number of I/O
pins
On-chip oscillator or watchdog
oscillator
No external reset (except during power up) 40
External RST pin supported
39