Philips P89LPC938 User Manual page 6

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 1:
Pin description
Symbol
Pin
TSSOP28,
PLCC28
P0.6/CMP1/
20
KBI6
P0.7/T1/KBI7
19
P1.0 to P1.7
P1.0/TXD
18
P1.1/RXD
17
P1.2/T0/SCL
12
P1.3/INT0/ SDA 11
P1.4/INT1
10
P1.5/RST
6
P1.6/OCB
5
User manual
...continued
Type Description
HVQFN28
16
I/O
P0.6 — Port 0 bit 6.
O
CMP1 — Comparator 1 output.
I
KBI6 — Keyboard input 6.
15
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.
I/O, I
Port 1: Port 1 is an 8-bit I/O port with a user-configurable output type,
[1]
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
on page 34
P1.5 is input only.
All pins have Schmitt triggered inputs.
Port 1 also provides various special functions as described below:
14
I/O
P1.0 — Port 1 bit 0.
O
TXD — Transmitter output for the serial port.
13
I/O
P1.1 — Port 1 bit 1.
I
RXD — Receiver input for the serial port.
8
I/O
P1.2 — Port 1 bit 2 (open-drain when used as output).
I/O
T0 — Timer/counter 0 external count input or overflow output (open-drain
when used as output).
I/O
SCL — I
7
I/O
P1.3 — Port 1 bit 3 (open-drain when used as output).
I
INT0 — External interrupt 0 input.
I/O
SDA — I
6
I
P1.4 — Port 1 bit 4.
I
INT1 — External interrupt 1 input.
2
I
P1.5 — Port 1 bit 5 (input only).
I
RST — External Reset input during power-on or if selected via UCFG1.
When functioning as a reset input, a LOW on this pin resets the
microcontroller, causing I/O ports and peripherals to take on their default
states, and the processor begins execution at address 0. Also used
during a power-on sequence to force In-System Programming mode.
When using an oscillator frequency above 12 MHz, the reset input
function of P1.5 must be enabled. An external circuit is required to
hold the device in reset at power-up until V
specified level. When system power is removed V
the minimum specified operating voltage. When using an oscillator
frequency above 12 MHz, in some applications, an external
brownout detect circuit may be required to hold the device in reset
when V
1
I/O
P1.6 — Port 1 bit 6.
O
OCB — Output Compare B.
Rev. 03 — 7 June 2005
for details. P1.2 to P1.3 are open drain when used as outputs.
2
C serial clock input/output.
2
C serial data input/output.
falls below the minimum specified operating voltage.
DD
UM10119
P89LPC938 User manual
Section 5.1 "Port configurations"
has reached its
DD
will fall below
DD
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
6 of 139

Advertisement

Table of Contents
loading

Table of Contents