English
Language : 

HMS87C1808B Datasheet, PDF (14/99 Pages) List of Unclassifed Manufacturers – 8-BIT SINGLE-CHIP MICROCONTROLLERS
HMS87C1X04B/08B/16B
5. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
RESET: Reset the MCU.
XIN: Input to the inverting oscillator amplifier and input to the in-
ternal 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” writ-
ten 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 fea-
tures in Table 5-1 .
RB0~RB7: RB is an 8-bit, CMOS, bidirectional I/O port. RB
pins can be used as outputs or inputs according to “1” or “0” writ-
ten the their Port Direction Register (RBIO).
RB serves the functions of the various following special features
in Table 5-2
Port pin
RB0
RB1
RB2
RB3
RB4
RB5
RB6
RB7
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)
PWM1 (PWM1 Output)
COMP1 (Timer3 Compare Output)
EC1 (Event Counter Input Source)
TMR2OV (Timer2 Overflow Output)
RC0~RC7: RC is an 8-bit, CMOS, bidirectional I/O port. RC
pins can be used as outputs or inputs according to “1” or “0” writ-
ten the their Port Direction Register (RCIO).
RC serves the functions of the serial interface following special
features in Table 5-3 .
Port pin
RC0
RC1
RC2
RC3
RC4
RC5
RC6
RC7
Alternate function
SRDYIN (SPI Ready Input)
SRDYOUT (SPI Ready Output)
SCKI (SPI CLK Input)
SCKO (SPI CLK Output)
SIN (SPI Serial Data Input)
SOUT (SPI Serial Data Output)
Table 5-3 RC Port
RD0~RD7: RD is an 8-bit, CMOS, bidirectional I/O port. RC
pins can be used as outputs or inputs according to “1” or “0” writ-
ten the their Port Direction Register (RDIO).
RD serves the functions of the external interrupt following spe-
cial features in Table 5-4
Port pin
RD0
RD1
RD2
RD3
RD4
RD5
RD6
RD7
Alternate function
INT2 (External Interrupt Input Port 2)
INT3 (External Interrupt Input Port 3)
Table 5-4 RD Port
RE0~RE6: RE is a 7-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 (REIO).
Table 5-2 RB Port
PIN NAME
VDD
VSS
Pin No.
43
34
In/Out
-
-
Supply voltage
Circuit ground
Table 5-5 Pin Description
Function
10
SEP. 2004 Ver 1.03