GMS82512/16/24
HYUNDAI MicroElectronics
5. PIN FUNCTION
V
V
R54~R55
: R5 is an 2-bit CMOS bidirectional I/O port. R5
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
DD: Supply voltage.
SS: Circuit ground.
TEST
: Used for Test Mode. For normal operation, it
In addition, R5 serves the functions of the various follow-
ing special features.
should be connected to VDD
.
RESET
: Reset the MCU.
Port pin
Alternate function
X
IN: Input to the inverting oscillator amplifier and input to
the internal main clock operating circuit.
R54
R55
WDTO (Watchdog Timer output)
BUZ (Buzzer driver output)
X
OUT: Output from the inverting oscillator amplifier.
R00~R07
: R0 is an 8-bit CMOS bidirectional I/O port. R0
R64~R67
: R6 is an 4-bit CMOS bidirectional I/O port. R6
pins 1 or 0 written to the Port Direction Register, can be
used as outputs or inputs.
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R20~R27
: R2 is an 8-bit CMOS bidirectional I/O port. R2
In addition, R6 is shared with the ADC input.
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
Port pin
Alternate function
AN4 (Analog Input 4)
AN5 (Analog Input 5)
AN6 (Analog Input 6)
AN7 (Analog Input 7)
R30~R37
: R3 is an 8-bit CMOS bidirectional I/O port. R3
R64
R66
R66
R67
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
R40~R44
: R4 is an 5-bit CMOS bidirectional I/O port. R4
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs.
AV
DD: Supply voltage to the ladder resistor of ADC cir-
cuit. To enhance the resolution of analog to digital convert-
er, use independent power source as well as possible, other
than digital power source.
In addition, R4 serves the functions of the various follow-
ing special features.
Port pin
Alternate function
R40
R41
R42
R43
R44
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
INT3 (External interrupt 3)
EC0 (Event counter input 0)
6
FEB. 2000 Ver 1.00