HMS81C43xx / GMS87C4060
7
November 2001 ver 1.2
5. PIN FUNCTION
V
DD
: Supply voltage.
V
SS
: Circuit ground.
TEST
: Used for shipping inspection of the IC. For normal
operation, it should not be connected .
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.
OSC1
: Input to the internal On Screen Display operating
circuit.
OSC2
: Output from the inverting OSC1 amplifier.
R00~R07
: R0 is an 8-bit CMOS bidirectional I/O port. R0
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R10~R17
: R1 is an 8-bit CMOS bidirectional I/O port. R1
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
In addition, R1 serves the functions of the various follow-
ing special features.
R20~R27
: R2 is a 8-bit CMOS bidirectional I/O port. Each
pins 1 or 0 written to the their Port Direction Register can
be used as outputs or inputs.
In addition, R2 serves the functions of the various follow-
ing special features.
R40~R47
: R40~R43 are 8-bit NMOS open drain output
and R45~R47 are bidirectional CMOS Input / NMOS open
drain output port. R4 pins 1 or 0 written to the Port Direc-
tion Register can be used as outputs or inputs.
In addition, R4 serves the functions of the various follow-
ing special features.
R50~R56
: R50~R53 are 4-bit CMOS bidirectional I/O and
R54~R56 are CMOS output port. R5 pins 1 or 0 written to
the Port Direction Register can be used as outputs or in-
puts.
In addition, R5 serves the functions of the various follow-
ing special features.
R67
: R67 is an 1-bit CMOS bidirectional I/O port. R67
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
In addition, R67 serves the functions of the various follow-
ing special features.
R,G,B
: R,G,B CMOS output port. Each pins controls Red,
Green,. Blue color control.
Port pin
Alternate function
R10
R11
R12
R13
R14
R15
R16
R17
AN0 (A/D converter input 0)
AN1 (A/D converter input 1)
AN2 (A/D converter input 2)
AN3 (A/D converter input 3)
AN4 (A/D converter input 4)
AN5 (A/D converter input 5)
VD (Vertical Sync. input)
HD (Horisontal Sync. input)
Port pin
Alternate function
R20
R21
R22
R23
R24
R25
R26
R27
INT2 (External interrupt input 2)
Sclk (Serial communication clock)
Sout (Serial communication data out)
Sin (Serial communication data in)
INT3 (External interrupt input 3)
EC2 (Event counter input 2)
INT4 (External interrupt input 4)
EC3 (Event counter input 3)
Port pin
Alternate function
R40
R41
R42
R43
R44
R45
R46
R47
PWM0 (Pulse Width Modulation output 0)
PWM1 (Pulse Width Modulation output 1)
PWM2 (Pulse Width Modulation output 2)
PWM3 (Pulse Width Modulation output 3)
SCL0 (I
2
C Clock 0)
SCL1 (I
2
C Clock 1)
PWM4 (Pulse Width Modulation output 4)
SDA0 (I
2
C Data 0)
SDA1 (I
2
C Data 1)
PWM5 (Pulse Width Modulation output 5)
Port pin
Alternate function
R50
R51
R52
R54
R55
R56
BUZZ (Buzzer output)
PWM8 (Pulse Width Modulation output 8)
INT0 (External interrupt input 0)
YM (Back ground)
YS (Edge)
I (Intencity)
Port pin
Alternate function
R67
INT1 (External interrupt input 1)