Rev. 2.50 90 June 22, 2017 Rev. 2.50 91 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-remapping Functions
Theexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemore
thanonefunction.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbut
bysupplyingpinswithmulti-functions,manyofthesedifficultiescanbeovercome.Thewayin
whichthepinfunctionofeachpinisselectedisdifferentforeachfunctionandapriorityorderis
establishedwheremorethanonepinfunctionisselectedsimultaneously.Additionallytherearea
seriesofPRM0,PRM1andPRM2registerstoestablishcertainpinfunctions.
Pin-remapping Registers
Thelimitednumberofsuppliedpinsinapackagecanimposerestrictionsontheamountoffunctions
acertaindevicecancontain.Howeverbyallowingthesamepinstoshareseveraldifferentfunctions
andprovidingameansoffunctionselection,awiderangeofdifferentfunctionscanbeincorporated
intoevenrelativelysmallpackagesizes.SomedevicesincludePRM0,PRM1orPRM2registers
whichcanselectthefunctionsofcertainpins.
Pin-remapping Register List
• HT66F30
Register
Name
Bit
7 6 5 4 3 2 1 0
PRM0 — — — — — PCPRM SIMPS0 PCKPS
• HT66F40
Register
Name
Bit
7 6 5 4 3 2 1 0
PRM0 —
C1XPS0 — C0XPS0 PDPRM SIMPS1 SIMPS0 PCKPS
PRM1 TCK2PS TCK1PS TCK0PS —
INT1PS1 INT1PS0 INT0PS1 INT0PS0
PRM2 — — TP21PS TP20PS TP1B2PS TP1APS TP01PS TP00PS
• HT66F50
Register
Name
Bit
7 6 5 4 3 2 1 0
PRM0 —
C1XPS0 — C0XPS0 PDPRM SIMPS1 SIMPS0 PCKPS
PRM1 TCK2PS TCK1PS TCK0PS —
INT1PS1 INT1PS0 INT0PS1 INT0PS0
PRM2 TP31PS TP30PS TP21PS TP20PS
TP1B2PS
TP1APS TP01PS TP00PS
• HT66F60
Register
Name
Bit
7 6 5 4 3 2 1 0
PRM0
C1XPS1 C1XPS0 C0XPS1 C0XPS0 PDPRM SIMPS1 SIMPS0 PCKPS
PRM1 TCK2PS TCK1PS TCK0PS
INT2PS1
INT1PS1
INT1PS0 INT0PS1 INT0PS0
PRM2 TP31PS TP30PS TP21PS TP20PS
TP1B2PS
TP1APS TP01PS TP00PS