
Rev. 2.50
�6
��ne 22� 20��
Rev. 2.50
��
��ne 22� 20��
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
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 description.
HT66F20
Pin Name
Function
OP
I/T
O/T
Pin-Shared Mapping
PA0~PA�
Port A
PAWU
PAPU
ST
CMOS
—
PB0~PB5
Port B
PBPU
ST
CMOS
—
PC0~PC3
Port C
PCPU
ST
CMOS
—
AN0~AN�
ADC inp�t
ACERL
AN
—
PA0~PA�
VREF
ADC reference inp�t
ADCR�
AN
—
PB5
C0-� C�-
Comparator 0� � inp�t
CP0C
CP�C
AN
—
PA3� PC3
C0+� C�+
Comparator 0� � inp�t
AN
—
PA2� PC2
C0X� C�X
Comparator 0� � o�tp�t
—
CMOS PA0� PA5
TCK0� TCK�
TM0� TM� inp�t
—
ST
—
PA2� PA4
TP0_0
TM0 I/O
TMPC0
ST
CMOS PA0
TP�_0� TP�_�
TM� I/O
TMPC0
ST
CMOS PA�� PC0
INT0� INT�
Ext. Interr�pt 0� �
—
ST
—
PA3� PA4
PINT
Peripheral Interr�pt
—
ST
—
PC3
PCK
Peripheral Clock o�tp�t
—
—
CMOS PC2
SDI
SPI Data inp�t
—
ST
—
PA6
SDO
SPI Data o�tp�t
—
—
CMOS PA5
SCS
SPI Slave Select
—
ST
CMOS PB5
SCK
SPI Serial Clock
—
ST
CMOS PA�
SCL
I
2
C Clock
—
ST
NMOS PA�
SDA
I
2
C Data
—
ST
NMOS PA6
SCOM0~SCOM3 SCOM0~SCOM3
SCOMC
—
SCOM PC0� PC�� PC2� PC3
OSC�
HXT/ERC pin
CO
HXT
—
PB�
OSC2
HXT pin
CO
—
HXT
PB2
XT�
LXT pin
CO
LXT
—
PB3
XT2
LXT pin
CO
—
LXT
PB4
RES
Reset inp�t
CO
ST
—
PB0
VDD
Power s�pply*
—
PWR
—
—
AVDD
ADC power s�pply*
—
PWR
—
—
VSS
Gro�nd**
—
PWR
—
—
AVSS
ADC gro�nd**
—
PWR
—
—
Note: I/T: Input type;
O/T: Output type
OP: Optional by configuration option (CO) or register option
PWR: Power;
CO: Configuration option; ST: Schmitt Trigger input
CMOS: CMOS output;
NMOS: NMOS output
SCOM: Software controlled LCD COM;
AN: Analog signal