© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 03 — 7 June 2005
5 of 139
Philips Semiconductors
UM10119
P89LPC938 User manual
1.2 Pin description
Table 1:
Pin description
Symbol
Pin
Type Description
TSSOP28,
PLCC28
HVQFN28
P0.0 to P0.7
I/O
Port 0:
Port 0 is an 8-bit I/O port with a user-configurable output type.
During reset Port 0 latches are configured in the input only mode with the
internal pull-up disabled. The operation of Port 0 pins as inputs and
outputs depends upon the port configuration selected. Each port pin is
configured independently. Refer to
Section 5.1 “Port configurations” on
for details.
The Keypad Interrupt feature operates with Port 0 pins.
All pins have Schmitt triggered inputs.
Port 0 also provides various special functions as described below:
P0.0/CMP2/
KBI0/AD05
3
27
I/O
P0.0 —
Port 0 bit 0.
O
CMP2 —
Comparator 2 output.
I
KBI0 —
Keyboard input 0.
I
AD05 —
ADC0 channel 5 analog input.
P0.1/CIN2B/
KBI1/AD00
26
22
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
25
21
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
24
20
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
23
19
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
22
18
I/O
P0.5 —
Port 0 bit 5.
I
CMPREF —
Comparator reference (negative) input.
I
KBI5 —
Keyboard input 5.