UM10147_2
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 02 — 28 April 2008
6 of 134
NXP Semiconductors
UM10147
P89LPC952/954 User manual
P0.1/CIN2B/
KBI1/AD00
39
42
36
I/O
P0.1 —
Port 0 bit 1.
I
CIN2B —
Comparator 2 positive input B.
I
KBI1 —
Keyboard input 1.
I
AD00 —
ADC0 channel 0 analog input.
P0.2/CIN2A/
KBI2/AD01
38
41
35
I/O
P0.2 —
Port 0 bit 2.
I
CIN2A —
Comparator 2 positive input A.
I
KBI2 —
Keyboard input 2.
I
AD01 —
ADC0 channel 1 analog input.
P0.3/CIN1B/
KBI3/AD02
37
40
34
I/O
P0.3 —
Port 0 bit 3.
I
CIN1B —
Comparator 1 positive input B.
I
KBI3 —
Keyboard input 3.
I
AD02 —
ADC0 channel 2 analog input.
P0.4/CIN1A/
KBI4/AD03
36
39
33
I/O
P0.4 —
Port 0 bit 4.
I
CIN1A —
Comparator 1 positive input A.
I
KBI4 —
Keyboard input 4.
I
AD03 —
ADC0 channel 3 analog input.
P0.5/CMPREF/
KBI5
35
38
32
I/O
P0.5 —
Port 0 bit 5.
I
CMPREF —
Comparator reference (negative) input.
I
KBI5 —
Keyboard input 5.
P0.6/CMP1/
KBI6
34
37
31
I/O
P0.6 —
Port 0 bit 6.
O
CMP1 —
Comparator 1 output.
I
KBI6 —
Keyboard input 6.
P0.7/T1/KBI7
31
35
29
I/O
P0.7 —
Port 0 bit 7.
I/O
T1 —
Timer/counter 1 external count input or overflow
output.
I
KBI7 —
Keyboard input 7.
P1.0 to P1.7
I/O, I
Port 1:
Port 1 is an 8-bit I/O port with a user-configurable
output type, except for three pins as noted below. During
reset Port 1 latches are configured in the input only mode
with the internal pull-up disabled. The operation of the
configurable Port 1 pins as inputs and outputs depends upon
the port configuration selected. Each of the configurable port
pins are programmed independently. Refer to
. P1.2 to P1.3 are open drain when used
as outputs. P1.5 is input only.
All pins have Schmitt triggered inputs.
Port 1 also provides various special functions as described
below:
P1.0/TXD0
4
10
4
I/O
P1.0 —
Port 1 bit 0.
O
TXD0 —
Transmitter output for serial port 0.
P1.1/RXD0
3
9
3
I/O
P1.1 —
Port 1 bit 1.
I
RXD0 —
Receiver input for serial port 0.
Table 1.
Pin description
…continued
Symbol
Pin
Type Description
LQFP48
PLCC44
LQFP44