P89LPC9401
Philips Semiconductors
8-bit two-clock 80C51 microcontroller with 32 segment × 4 LCD driver
Table 3:
Symbol
Pin description …continued
Pin
Type Description
P0.1/CIN2B/
KBI1
5
I/O
P0.1 — Port 0 bit 1.
I
CIN2B — Comparator 2 positive input B.
KBI1 — Keyboard input 1.
I
P0.2/CIN2A/
KBI2
4
I/O
P0.2 — Port 0 bit 2.
I
CIN2A — Comparator 2 positive input A.
KBI2 — Keyboard input 2.
I
P0.3/CIN1B/
KBI3
3
I/O
P0.3 — Port 0 bit 3.
I
CIN1B — Comparator 1 positive input B.
KBI3 — Keyboard input 3.
I
P0.4/ CIN1A/
KBI4
2
I/O
P0.4 — Port 0 bit 4.
I
CIN1A — Comparator 1 positive input A.
KBI4 — Keyboard input 4.
I
P0.5/
CMPREF/
KBI5
1
I/O
I
P0.5 — Port 0 bit 5.
CMPREF — Comparator reference (negative) input.
KBI5 — Keyboard input 5.
I
P0.6/CMP1/
KBI6
24
I/O
O
I
P0.6 — Port 0 bit 6.
CMP1 — Comparator 1 output.
KBI6 — Keyboard input 6.
P0.7/T1/KBI7 23
P1.0 to P1.7
I/O
I/O
I
P0.7 — Port 0 bit 7.
T1 — Timer/counter 1 external count input or overflow output.
KBI7 — Keyboard input 7.
I/O, I Port 1: Port 1 is an 8-bit I/O port with a user-configurable output type, except for three
[1]
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 Section 7.13.1 “Port
configurations” and Table 11 “Static electrical characteristics” for details. P1.2 and P1.3
are open drain when used as outputs. P1.5 is input only.
All pins have Schmitt trigger inputs.
Port 1 also provides various special functions as described below:
P1.0/TXD
22
21
17
I/O
O
P1.0 — Port 1 bit 0.
TXD — Transmitter output for the serial port.
P1.1 — Port 1 bit 1.
P1.1/RXD
P1.2/T0/SCL
I/O
I
RXD — Receiver input for the serial port.
P1.2 — Port 1 bit 2 (open-drain when used as output).
I/O
I/O
T0 — Timer/counter 0 external count input or overflow output (open-drain when used
as output).
I/O
SCL — I2C-bus serial clock input/output.
P1.3 — Port 1 bit 3 (open-drain when used as output).
INT0 — External interrupt 0 input.
SDA — I2C-bus serial data input/output.
P1.4 — Port 1 bit 4.
P1.3/INTO/
SDA
16
15
I/O
I
I/O
P1.4/INT1
I
I
INT1 — External interrupt 1 input.
P89LPC9401_1
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Preliminary data sheet
Rev. 01 — 5 September 2005
8 of 59