English
Language : 

HMS87C1304A Datasheet, PDF (6/70 Pages) Hynix Semiconductor – CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
HMS87C1304A/HMS87C1302A
HYUNDAI MicroElectronics
5. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
RESET: Reset the MCU.
XIN: Input to the inverting oscillator amplifier and input to
the internal main clock operating circuit.
RB0~RB7: RB is a 8-bit, CMOS, bidirectional I/O port.
RB pins can be used as outputs or inputs according to “1”
or “0” written the their Port Direction Register(RBIO).
RB serves the functions of the various following special
features in Table 5-2
XOUT: Output from the inverting oscillator amplifier.
Port pin
Alternate function
RA0~RA7: RA is an 8-bit, CMOS, bidirectional I/O port.
RA pins can be used as outputs or inputs according to “1”
or “0” written the their Port Direction Register(RAIO).
RB0
AN0 ( Analog Input Port 0 )
AVref ( External Analog Reference Pin )
RB1
BUZ ( Buzzer Driving Output Port )
RB2
INT0 ( External Interrupt Input Port 0 )
Port pin
Alternate function
RB3
INT1 ( External Interrupt Input Port 1 )
RB4
PWM0 (PWM0 Output)
RA0
EC0 ( Event Counter Input Source )
COMP0 (Timer1 Compare Output)
RA1
AN1 ( Analog Input Port 1 )
Table 5-2 RB Port
RA2
AN2 ( Analog Input Port 2 )
RA3
AN3 ( Analog Input Port 3 )
RA4
AN4 ( Analog Input Port 4 )
y RA5
AN5 ( Analog Input Port 5 )
r RA6
AN6 ( Analog Input Port 6 )
RA7
AN7 ( Analog Input Port 7 )
a Table 5-1 RA Port
in In addition, RA serves the functions of the various special
Prelim features in Table 5-1 .
RC0, RC1: RC is a 2-bit, CMOS, bidirectional I/O port.
RC pins can be used as outputs or inputs according to “1”
or “0” written the their Port Direction Register(RCIO).
RD0~RD3: RD is a 4-bit, CMOS, bidirectional I/O port.
RC pins can be used as outputs or inputs according to “1”
or “0” written the their Port Direction Register(RDIO).
6
Preliminary
Jan. 2001