Rev. 2.50 16 June 22, 2017 Rev. 2.50 17 June 22, 2017
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
Withtheexceptionofthepowerpins,allpinsonthesedevicescanbereferencedbytheirPortname,
e.g.PA.0,PA.1etc,whichrefertothedigitalI/Ofunctionofthepins.HoweverthesePortpinsare
alsosharedwithotherfunctionsuchastheAnalogtoDigitalConverter,SerialPortpinsetc.The
functionofeachpinislistedinthefollowingtable,howeverthedetailsbehindhoweachpinis
congurediscontainedinothersectionsofthedatasheet.
ThefollowingtablesonlyincludethepinswhicharedirectlyrelatedtotheMCU.Thepin
descriptionsoftheadditionalperipheralfunctionsarelocatedattheendofthedatasheetalongwith
therelevantperipheralfunctionfunctionaldescription.
HT66F20
Pin Name Function OP I/T O/T Pin-Shared Mapping
PA0~PA7 Port A
PAWU
PAPU
ST CMOS —
PB0~PB5 Port B PBPU ST CMOS —
PC0~PC3 Port C PCPU ST CMOS —
AN0~AN7 ADC input ACERL AN — PA0~PA7
VREF ADC reference input ADCR1 AN — PB5
C0-, C1- Comparator 0, 1 input
CP0C
CP1C
AN — PA3, PC3
C0+, C1+ Comparator 0, 1 input AN — PA2, PC2
C0X, C1X Comparator 0, 1 output — CMOS PA0, PA5
TCK0, TCK1 TM0, TM1 input — ST — PA2, PA4
TP0_0 TM0 I/O TMPC0 ST CMOS PA0
TP1_0, TP1_1 TM1 I/O TMPC0 ST CMOS PA1, PC0
INT0, INT1 Ext. Interrupt 0, 1 — ST — PA3, PA4
PINT Peripheral Interrupt — ST — PC3
PCK
Peripheral Clock output — — CMOS PC2
SDI
SPI Data input — ST — PA6
SDO
SPI Data output — — CMOS PA5
SCS SPI Slave Select — ST CMOS PB5
SCK SPI Serial Clock — ST CMOS
PA7
SCL I
2
C Clock — ST NMOS PA7
SDA I
2
C Data — ST NMOS PA6
SCOM0~SCOM3 SCOM0~SCOM3 SCOMC — SCOM
PC0, PC1, PC2, PC3
OSC1 HXT/ERC pin CO HXT — PB1
OSC2 HXT pin CO — HXT PB2
XT1 LXT pin CO LXT — PB3
XT2 LXT pin CO — LXT PB4
RES Reset input CO ST — PB0
VDD
Power supply* — PWR — —
AVDD
ADC power supply* — PWR — —
VSS
Ground** — PWR — —
AVSS
ADC ground** — PWR — —
Note:I/T:Inputtype; O/T:Outputtype
OP:Optionalbycongurationoption(CO)orregisteroption
PWR:Power; CO:Congurationoption; ST:SchmittTriggerinput
CMOS:CMOSoutput; NMOS:NMOSoutput
SCOM:SoftwarecontrolledLCDCOM; AN:Analogsignal