TSC8051C2
5. Pin Description
VSS
PORT 2 (P2.0–P2.7)
Circuit ground.
Port 2 is an 8–bit bidirectional I/O port with internal
pullups. 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 current (IIL on
the data–sheet) because of the internal pullups.
VCC
Power supply voltage.
RST
Port 2 emits the high–order 8–bit address during fetches
from external Program Memory and during accesses to
external Data Memory that use 16–bit addresses. In this
application it uses strong internal pull–up when emitting
1’s.
A high level on this pin for two machine cycles while the
oscillator is running resets the device. An internal
pulldown resistor permits power–on reset using only a
capacitor connected to VCC.
Port 2 can sink and source 3 LS TTL loads.
PORT 0 (P0.0–P0.7)
PORT 3 (P3.0–P3.7)
Port 0 is an 8–bit open–drain bidirectional I/O port. Port
0 pins that have 1’s written to them float, and in that state
can be used as high–impedance inputs.
Port 3 is an 8–bit bidirectional I/O port with internal
pullups. Port 3 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 3 pins that are
externally being pulled low will source current (IIL on
the data–sheet) because of the internal pullups.
Port 0 is also the multiplexed low–order address and data
bus during access to external Program and Data memory.
In this application it uses strong internal pull–up when
emitting 1’s.
Port 0 can sink and source 8 LS TTL loads.
Each line on this port has 2 or 3 functions either a general
I/O or special control signal, as listed below:
PORT 1 (P1.0–P1.7)
Port Pin
Alternate Function
Port 1 is an 8–bit bidirectional I/O port with internal
pullups. 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 (IIL on
the data–sheet) because of the internal pullups.
P3.0
RXD: serial input port.
P3.1
P3.2
TXD: serial output port.
INT0: external interrupt 0.
VSYNC: vertical synchro input.
P3.3
P3.4
P3.5
INT1: external interrupt 1.
VOUT: buffered V-SYNC output.
Port 1 also serves 4 programmable PWM open drain
outputs and programmable open drain CPO, as listed
below:
T0: Timer 0 external input.
HSYNC: horizontal synchro input.
T1: Timer 1 external input.
HOUT: buffered H–SYNC output.
P3.6
P3.7
WR: external data memory write strobe.
RD: external data memory read strobe.
Port Pin
Alternate Function
PWM8: Pulse Width Modulation output 8.
PWM9: Pulse Width Modulation output 9.
PWM10: Pulse Width Modulation output 10.
PWM11: Pulse Width Modulation output 11.
CPO: Clamp Pulse Output.
P1.0
P1.1
P1.2
P1.3
P1.4
Port 3 can sink and source 3 LS TTL loads.
PWM0–7
These eight Pulse Width Modulation outputs are true
open drain outputs and are floating after reset.
Port 1 can sink and source 3 LS TTL loads.
4
MATRA MHS
Rev. A (10 Jan. 97)
Preview