Rev. 1.50 68 August 28, 2017 Rev. 1.50 69 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
Pin-remapping Functions
Theexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemore
thanonefunction.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbut
bysupplyingpinswithmulti-functions,manyofthesedifficultiescanbeovercome.Thewayin
whichthepinfunctionofeachpinisselectedisdifferentforeachfunctionandapriorityorderis
establishedwheremorethanonepinfunctionisselectedsimultaneously.Additionallythereisa
register,IFS,toestablishcertainpinfunctions.
Thelimitednumberofsuppliedpinsinapackagecanimposerestrictionsontheamountoffunctions
acertaindevicecancontain.Howeverbyallowingthesamepinstoshareseveraldifferentfunctions
andprovidingameansoffunctionselection,awiderangeofdifferentfunctionscanbeincorporated
intoevenrelativelysmallpackagesizes.Ifthepin-sharedpinfunctionhavemultipleoutputs
simultaneously,itspinnamesattherightsideofthe“/”signcanbeusedforhigherpriority.
Register
Name
Bit
7 6 5 4 3 2 1 0
IFS
(HT66F0175)
— — SDOPS SDI_SDAPS SCK_SCLPS SCSBPS INT1PS INT0PS
IFS
(HT66F0185)
— SDOPS1 SDOPS0 SDI_SDAPS SCK_SCLPS SCSBPS TXPS RXPS
Pin-remapping Function Selection Registers List
IFS Register – HT66F0175
Bit 7 6 5 4 3 2 1 0
Name — — SDOPS SDI_SDAPS SCK_SCLPS SCSBPS INT1PS INT0PS
R/W — — R/W R/W R/W R/W R/W R/W
POR — — 0 0 0 0 0 0
Bit7~6 Unimplemented,readas“0”
Bit5 SDOPS:SDOpin-remappingselection
0:SDOonPC2
1:SDOonPA1
Bit4 SDI_SDAPS:SDI/SDApin-remappingselection
0:SDI/SDAonPC3
1:SDI/SDAonPA3
Bit3 SCK_SCLPS:SCK/SCLpin-remappingselection
0:SCK/CLonPC4
1:SCK/CLonPB6
Bit2 SCSBPS:SCSpin-remappingselection
0:SCSonPA1
1:SCSonPB5
Bit1 INT1PS:INT1pin-remappingselection
0:INT1onPB1
1:INT1onPC5
Bit0 INT0PS:INT0pin-remappingselection
0:INT0onPB0
1:INT0onPC6