p89lpc972fn NXP Semiconductors, p89lpc972fn Datasheet - Page 25

no-image

p89lpc972fn

Manufacturer Part Number
p89lpc972fn
Description
8-bit Microcontroller With Accelerated Two-clock 80c51 Core 2kb/4 Kb/8 Kb Wide-voltage Byte-erasable ?ash
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC972FN
Manufacturer:
NXP
Quantity:
8 000
NXP Semiconductors
P89LPC97X_1
Preliminary data sheet
7.16.1.1 Quasi-bidirectional output configuration
7.16.1.2 Open-drain output configuration
7.16.1.3 Input-only configuration
7.16.1 Port configurations
7.16 I/O ports
The P89LPC970/971/972 has four I/O ports: Port 0, Port 1 and Port 3. Ports 0, 1 are 8-bit
ports, and Port 3 is a 2-bit port. The exact number of I/O pins available depends upon the
clock and reset options chosen, as shown in
Table 7.
All but three I/O port pins on the P89LPC970/971/972 may be configured by software to
one of four types on a bit-by-bit basis. These are: quasi-bidirectional (standard 80C51 port
outputs), push-pull, open drain, and input-only. Two configuration registers for each port
select the output type for each port pin.
Quasi-bidirectional output type can be used as both an input and output without the need
to reconfigure the port. This is possible because when the port outputs a logic HIGH, it is
weakly driven, allowing an external device to pull the pin LOW. When the pin is driven
LOW, it is driven strongly and able to sink a fairly large current. These features are
somewhat similar to an open-drain output except that there are three pull-up transistors in
the quasi-bidirectional output that serve different purposes.
A quasi-bidirectional port pin has a Schmitt trigger input that also has a glitch suppression
circuit.
The open-drain output configuration turns off all pull-ups and only drives the pull-down
transistor of the port driver when the port latch contains a logic 0. To be used as a logic
output, a port configured in this manner must have an external pull-up, typically a resistor
tied to V
An open-drain port pin has a Schmitt trigger input that also has a glitch suppression
circuit.
The input-only port configuration has no output drivers. It is a Schmitt trigger input that
also has a glitch suppression circuit.
Clock source
On-chip oscillator or watchdog
oscillator
External clock input
Low/medium/high speed
oscillator (external crystal or
resonator)
1. P1.5/RST can only be an input and cannot be configured.
2. P1.2/SCL/T0 and P1.3/INT0/SDA/T4 may only be configured to be either input-only or
open-drain.
DD
.
Number of I/O pins available
Rev. 01 — 17 December 2009
8-bit microcontroller with accelerated two-clock 80C51 core
Reset option
no external reset (except during power-up) 18
external RST pin supported
no external reset (except during power-up) 17
external RST pin supported
no external reset (except during power-up) 16
external RST pin supported
Table
P89LPC970/971/972
7.
© NXP B.V. 2009. All rights reserved.
Number of I/O
pins (20-pin
package)
17
16
15
25 of 65

Related parts for p89lpc972fn