M80C51FB
Port 0: Port 0 is an 8-bit, open drain, bidirectional I/O
port. As an output port each pin can sink several LS
TTL inputs. Port 0 pins that have 1’s written to them
float, and in that state can be used as high-imped-
ance inputs.
DIP
Port 0 is also the multiplexed low-order address and
data bus during accesses to external Program and
Data Memory. In this application it uses strong inter-
nal pullups when emitting1’s, and can source and
sink several LS TTL inputs.
Port 1: Port 1 is an 8-bit bidirectional I/O port with
internal pullups. The Port 1 output buffers can drive
LS TTL inputs. Port 1 pins that have 1’s written to
them are pulled high by the internal pullups, and in
that state can be used as inputs. As inputs, Port 1
pins that are externally being pulled low will source
current (I , on the data sheet) because of the inter-
IL
nal pullups.
In addition, Port 1 serves the functions of the follow-
ing special features of the M80C51FB:
Port Pin
Alternate Function
271172–2
P1.0
T2 (External Count Input to Timer/
Counter 2)
LCC/Gull Wing/J-Lead
P1.1
T2EX (Timer/Counter 2 Capture/
Reload Trigger and Direction Control)
P1.2
P1.3
ECI (External Count Input to the PCA)
CEX0 (External I/O for Compare/
Capture Module 0)
P1.4
P1.5
P1.6
P1.7
CEX1 (External I/O for Compare/
Capture Module 1)
CEX2 (External I/O for Compare/
Capture Module 2)
CEX3 (External I/O for Compare/
Capture Module 3)
CEX4 (External I/O for Compare/
Capture Module 4)
Port 2: Port 2 is an 8-bit bidirectional I/O port with
internal pullups. The Port 2 output buffers can drive
LS TTL inputs. Port 2 pins that have 1’s written to
them are pulled high by the internal pullups, and in
that state can be used as inputs. As inputs, Port 2
pins that are externally being pulled low will source
271172–3
Figure 2. M80C51FB Pin Connections
PIN DESCRIPTIONS
current (I , on the data sheet) because of the inter-
IL
nal pullups.
V : Supply voltage.
CC
V : Circuit ground.
SS
3