Rev. 1.71 58 April 11, 2017 Rev. 1.71 59 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
PBC Register – HT66F003
Bit 7 6 5 4 3 2 1 0
Name — — D5 D4 D3 D2 D1 D0
R/W — — R/W R/W R/W R/W R/W R/W
POR — — 1 1 1 1 1 1
B
it7~6 Unimplemented,readas0
Bit5~0 I/OPortBbit5~bit0Input/OutputControl
0:Output
1:Input
PBC Register – HT66F004
Bit 7 6 5 4 3 2 1 0
Name — D6 D5 D4 D3 D2 D1 D0
R/W — R/W R/W R/W R/W R/W R/W R/W
POR — 1 1 1 1 1 1 1
Bit7 Unimplemented,readas0
Bit6~0 I/OPortBbit6~bit0Input/OutputControl
0:Output
1:Input
PCC Register – HT66F004
Bit 7 6 5 4 3 2 1 0
Name — — — — — D2 D1 D0
R/W — — — — — R/W R/W R/W
POR — — — — — 1 1 1
Bit7~3 Unimplemented,readas0
Bit2~0 I/OPortCbit2~bit0Input/OutputControl
0:Output
1:Input
Pin-shared Functions
Theexibilityofthemicrocontrollerrangeisgreatlyenhancedbytheuseofpinsthathavemore
thanonefunction.Limitednumbersofpinscanforceseriousdesignconstraintsondesignersbut
bysupplyingpinswithmulti-functions,manyofthesedifficultiescanbeovercome.Thewayin
whichthepinfunctionofeachpinisselectedisdifferentforeachfunctionandapriorityorderis
establishedwheremorethanonepinfunctionisselectedsimultaneously.Additionallythereare
aPASRandaPBSRregistertoestablishcertainpinfunctions.Generallyspeaking,theanalog
functionhashigherprioritythanthedigitalfunction.However,ifmorethantwoanalogfunctions
areenabledandtheanalogsignalinputcomesfromthesameexternalpin,theanaloginputwillbe
internallyconnectedtoalloftheseactiveanalogfunctionalmodules.