HMS81C43xx / GMS87C4060
7
November 2001 ver 1.2
5. PIN FUNCTION
V
DD
: Supply voltage.
V
SS
: Circuit ground.
TEST
: Used for shipping inspect ion of the IC. F or normal
operation, it should not be connected .
RESET
: Rese t th e MCU.
X
IN
: Input to the inver tin g oscil lator ampli fie r and i nput to
the internal main clock operating circui t.
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 inpu ts.
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 inpu ts.
In addition, R1 serves the functions of the various following special features.
R20~R27
: R2 is a 8-bit CMOS bidi rectional I/O por t. 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 following special features.
R40~R47
: R40~R43 are 8-bit NM OS open drain output
and R45~R47 are bidirec tional CMOS Input / NMOS open
drain output port. R4 pins 1 or 0 written to the Port Direction Registe r can be used as outputs or inpu ts.
In addition, R4 serves the functions of the various following sp ec ial featur es.
R50~R56
: R50~R53 are 4-bi t CMOS bidire ctional I/ O and
R54~R56 are CMOS output port. R5 pins 1 or 0 writ ten to
the Port Direction Register can be used as outputs or inputs.
In addition, R5 serves the functions of the various following sp ec ial featur es.
R67
: R67 is an 1- bit CMOS bidirection al 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 vario us following sp ec ial featur es.
R,G,B
: R,G,B CMOS outpu t port. E ach pin s cont rols Re d,
Green,. Blue color co ntrol.
Port pin Alternate funct ion
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 funct ion
R20
R21
R22
R23
R24
R25
R26
R27
INT2 (External interrupt input 2)
Sclk (Serial communication clock)
Sout (Serial communication data out)
Sin (Serial communi cation data in)
INT3 (External interrupt input 3)
EC2 (Event counter in put 2)
INT4 (External interrupt input 4)
EC3 (Event counter in put 3)
Port pin Alternate function
R40
R41
R42
R43
R44
R45
R46
R47
PWM0 (Pulse Width Modul ation output 0)
PWM1 (Pulse Width Modul ation output 1)
PWM2 (Pulse Width Modul ation output 2)
PWM3 (Pulse Width Modul ation output 3)
SCL0 (I
2
C Clock 0)
SCL1 (I
2
C Clock 1)
PWM4 (Pulse Width Modul ation output 4)
SDA0 (I
2
C Data 0)
SDA1 (I
2
C Data 1)
PWM5 (Pulse Width Modul ation output 5)
Port pin Alternate function
R50
R51
R52
R54
R55
R56
BUZZ (Buzzer output)
PWM8 (Pulse Width Modul ation output 8)
INT0 (External int errupt input 0)
YM (Back ground)
YS (Edge)
I (Intencity)
Port pin Alternate function
R67 INT1 (External int errupt input 1)