HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
Pin Description
With the exception of the power pins, all pins on these devices can be referenced by their Port name, e.g. PA.0, PA.1
etc, which refer to the digital I/O function of the pins. However these Port pins are also shared with other function such
as the Analog to Digital Converter, Serial Port pins etc. The function of each pin is listed in the following table, however
the details behind how each pin is configured is contained in other sections of the datasheet.
The following tables only include the pins which are directly related to the MCU. The pin descriptions of the additional
peripheral functions are located at the end of the datasheet along with the relevant peripheral function functional de-
scription.
HT66F20
Pin Name
PA0~PA7
Function
OP
I/T
O/T
Pin-Shared Mapping
PAWU
PAPU
Port A
ST
CMOS
¾
PB0~PB5
PC0~PC3
AN0~AN7
VREF
Port B
Port C
PBPU
PCPU
ST
ST
AN
AN
AN
AN
CMOS
CMOS
¾
¾
¾
ADC input
ACERL
ADCR1
PA0~PA7
PB5
ADC reference input
Comparator 0, 1 input
Comparator 0, 1 input
Comparator 0, 1 output
TM0, TM1 input
TM0 I/O
¾
C0-, C1-
C0+, C1+
C0X, C1X
TCK0, TCK1
TP0_0
TP1_0, TP1_1
INT0, INT1
PINT
PA3, PC3
PA2, PC2
PA0, PA5
PA2, PA4
PA0
¾
CP0C
CP1C
¾
CMOS
¾
ST
ST
ST
ST
ST
¾
TMPC0
TMPC0
¾
¾
CMOS
CMOS
¾
TM1 I/O
PA1, PC0
PA3, PA4
PC3
Ext. Interrupt 0, 1
Peripheral Interrupt
Peripheral Clock output
SPI Data input
SPI Data output
SPI Slave Select
SPI Serial Clock
I2C Clock
¾
¾
PCK
CMOS
PC2
¾
¾
ST
SDI
PA6
¾
¾
CMOS
CMOS
CMOS
NMOS
NMOS
SCOM
¾
SDO
PA5
¾
¾
SCS
ST
PB5
¾
SCK
ST
PA7
¾
SCL
ST
PA7
¾
SDA
I2C Data
ST
PA6
¾
SCOM0~SCOM3
OSC1
SCOM0~SCOM3
HXT/ERC pin
HXT pin
SCOMC
CO
CO
CO
CO
CO
PC0, PC1, PC2, PC3
PB1
¾
HXT
¾
OSC2
HXT
¾
PB2
XT1
LXT pin
LXT
¾
PB3
XT2
LXT pin
LXT
¾
PB4
RES
Reset input
ST
PB0
VDD
Power supply *
ADC power supply *
Ground **
PWR
PWR
PWR
PWR
¾
¾
¾
¾
¾
¾
¾
¾
¾
AVDD
¾
VSS
¾
AVSS
ADC ground **
¾
Rev. 1.20
7
June 4, 2010