![](http://datasheet.mmic.net.cn/290000/HMS77C2000_datasheet_16134699/HMS77C2000_8.png)
HMS77C2000/2001
Nov. 2002 Ver 1.1
5
5. PIN FUNCTION
V
DD
: Supply voltage.
V
SS
: Circuit ground.
V
PP
: Programming voltage input
RESET
: Reset the MCU.
X
IN
: Input to the inverting oscillator amplifier and input to
the internal main clock operating circuit.
X
OUT
: Output from the inverting oscillator amplifier.
UP0~UP5
: UP is a 6-bit, CMOS, bidirectional I/O port ex-
cept for UP3. UP3 port is fixed to input mode
UP pins can be used as outputs or inputs according to “0”
or “1” written the their port direction register(TRIS).
EC0
: EC0 is an external clock input to Timer0. It should
be tied to V
SS
or V
DD
, if not in use, to reduce current con-
sumption.
NAME
DIP
Pin #
SOP
Pin #
I/O/P
Type
Buffer
Type
Description
UP0
7
7
I/O
TTL/ST
Bi-directional I/O port/ serial programming data. Can be software
programmed for internal weak pull-up and wake-up from SLEEP
on pin change. This buffer is a schmitt trigger input when used in
serial programming mode.
UP1
6
6
I/O
TTL/ST
Bi-directional I/O port/ serial programming clock. Can be software
programmed for internal weak pull-up and wake-up from SLEEP
on pin change. This buffer is a schmitt trigger input when used in
serial programming mode.
UP2/EC0
5
5
I/O
ST
Bi-directional I/O port. Can be configured as EC0.
UP3/RESET/V
PP
4
4
I
TTL/ST
Input port/master clear (reset) input/programming voltage input.
When configured as RESET, this pin is an active low reset to the
device. Voltage on RESET/V
PP
must not exceed V
DD
during nor-
mal device operation or the device will enter programming mode.
Can be software programmed for internal weak pull-up and
wake-up from SLEEP on pin change. Weak pull-up always on if
configured as RESET. ST when in RESET mode.
UP4/
X
OUT
3
3
I/O
TTL
Bi-directional I/O port/oscillator crystal output. Connections to
crystal or resonator in crystal oscillator mode (XT and LF modes
only, UPIO in other modes).
UP5/
X
IN
2
2
I/O
TTL/ST
Bidirectional IO port/oscillator crystal input/external clock source
input (UPIO in Internal RC mode only,
X
IN
in all other oscillator
modes). TTL input when UPIO, ST input in external RC oscillator
mode.
V
DD
1
1
P
-
Positive supply for logic and I/O pins
V
SS
8
8
P
-
Ground reference for logic and I/O pins
TABLE 5-1HMS77C2000/1 PINOUT DESCRIPTION
Legend: I = input, O = output, I/O = input/output, P = power, - = not used, TTL = TTL input, ST = schmitt trigger input