Pin Description
Pin Name
I/O
Options
Description
PA0/BZ
PA1/BZ
PA2
PA3/PFD
PA4~PA7
I/O
Wake-up
Pull-high
or None
CMOS or
NMOS
PA0~PA7 constitute an 8-bit bidirectional input/output port
with Schmitt trigger input capability. Each bit on port can be
configured as a wake-up input by options. PA0~PA3 can be con-
figured as a CMOS output or NMOS input/output with or with-
out pull-high resistor by options. PA4~PA7 are always
pull-high NMOS input/output. Of the eight bits, PA0~PA1 can
be set as I/O pins or buzzer outputs by options. PA3 can be set
as an I/O pin or as a PFD output also by options.
PB0/INT0
PB1/INT1
PB2/TMR0
PB3/TMR1
PB4~PB7
I
PB0~PB7 constitute an 8-bit Schmitt trigger input port. Each
bit on port are pull-high resistor. Of the eight bits, PB0 and
PB1 can be set as input pins or as external interrupt control
pins (INT0) and (INT1) respectively, by software application.
PB2 and PB3 can be set as an input pin or as a timer/event
counter input pin TMR0 and TMR1 also by software applica-
tion.
PC0~PC3
I/O
Pull-high
or None
CMOS or
NMOS
PC0~PC3 constitute a 4-bit bidirectional input/output port
withaschmitttriggerinputcapability.Ontheport,suchcanbe
configured as CMOS output or NMOS input/output with or
without pull-high resistor by options.
VSS
Negative power supply, ground
VLCD
I
LCD power supply
V1,V2,C1,C2
I
Voltage pump
SEG32/COM3
COM2~COM0
O
1/3 or 1/4
Duty
SEG32 can be set as a segment or as a common output driver
for LCD panel by options. COM2~COM0 are outputs for LCD
panel plate.
SEG31~SEG0
O
LCD driver outputs for LCD panel segments
OSC4
OSC3
O
I
RTC or
System Clock
Real time clock oscillators. OSC3 and OSC4 are connected to a
32768Hz crystal oscillator for timing purposes or to a system
clock source (depending on the options).
No built-in capacitor
VDD
Positive power supply
OSC2
OSC1
O
I
Crystal or RC
OSC1 and OSC2 are connected to an RC network or a crystal
(by options) for the internal system clock. In the case of RC op-
eration, OSC2 is the output terminal for 1/4 system clock.
The system clock may come from the RTC oscillator. If the sys-
tem clock comes from RTCOSC, these two pins cannot be
floating.
RES
I
Schmitt trigger reset input, active low
HT49R50A
5
November 29, 2000