English
Language : 

HMS87C13042A Datasheet, PDF (12/88 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C130XA/120XA/110XA
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.
XOUT: Output from the inverting oscillator amplifier.
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).
Port pin
RA0
RA1
RA2
RA3
RA4
RA5
RA6
RA7
Alternate function
EC0 ( Event Counter Input Source )
AN1 ( Analog Input Port 1 )
AN2 ( Analog Input Port 2 )
AN3 ( Analog Input Port 3 )
AN4 ( Analog Input Port 4 )
AN5 ( Analog Input Port 5 )
AN6 ( Analog Input Port 6 )
AN7 ( Analog Input Port 7 )
Table 5-1 RA Port
In addition, RA serves the functions of the various special
features in Table 5-1.
RB0~RB4: RB is an 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.
Port pin
RB0
RB1 1
RB2
RB3 1
RB4
Alternate function
AN0 ( Analog Input Port 0 )
AVREF ( External Analog Reference Pin
)
BUZ ( Buzzer Driving Output Port )
INT0 ( External Interrupt Input Port 0 )
INT1 ( External Interrupt Input Port 1 )
PWM0 (PWM0 Output)
COMP0 (Timer1 Compare Output)
Table 5-2 RB Port
1. These pins are not available in HMS87C1104(2)A.
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).
And these pins are not available in HMS87C1104(2)A.
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).
And these pins are not available in HMS87C1204(2)A and
HMS87C1104(2)A.
Apr. 2001 ver1.0
9