Rev. 1.71 54 April 11, 2017 Rev. 1.71 55 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
Thedifferentkindsofresetsallaffecttheinternalregistersofthemicrocontrollerindifferentways.
Toensurereliablecontinuationofnormalprogramexecutionafteraresetoccurs,itisimportantto
knowwhatconditionthemicrocontrollerisinafteraparticularresetoccurs.Thefollowingtable
describeshoweachtypeofresetaffectseachofthemicrocontrollerinternalregisters.Notethatwhere
morethanonepackagetypeexiststhetablewillreectthesituationforthelargerpackagetype.
Register
HT66F002
HT66F0025
HT66F003
HT66F004
Reset
(Power On)
WDT Time-out
(Normal
Operation)
RES Reset
(Normal
Operation)
RES Reset
(HALT)
WDT Time-out
(HALT)*
Program
Counter
● ● ● ● 000H 000H 000H 000H 000H
MP0 ● ● ● ● 1xxx xxxx 1xxx xxxx 1xxx xxxx 1xxx xxxx 1uuu uuuu
MP1 ● ● ● ● 1xxx xxxx 1xxx xxxx 1xxx xxxx 1xxx xxxx 1uuu uuuu
BP ● ● ● ● ---- ---0 ---- ---0 ---- ---0 ---- ---0 ---- ---u
ACC ● ● ● ● xxxx xxxx uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu
PCL ● ● ● ● 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
TBLP ● ● ● ● xxxx xxxx uuuu uuuu uuuu uuuu uuuu uuuu uuuu uuuu
TBLH ● ● ● ● --xx xxxx --uu uuuu --uu uuuu --uu uuuu --uu uuuu
STATUS ● ● ● ● --00 xxxx --1u uuuu --uu uuuu --01 uuuu --11 uuuu
SMOD ● ● ● ● 000- 0011 000- 0011 000- 0011 000- 0011 uuu- uuuu
INTEG ● ● ● ● ---- --00 ---- --00 ---- --00 ---- --00 ---- --uu
INTC0 ● ● ● ● -000 0000 -000 0000 -000 0000 -000 0000 -uuu uuuu
INTC1
● ● -000 -000 -000 -000 -000 -000 -000 -000 -uuu -uuu
● ● 0000 0000 0000 0000 0000 0000 0000 0000 uuuu uuuu
MFI0
● ● ● --00 --00 --00 --00 --00 --00 --00 --00 --uu --uu
● 0000 0000 0000 0000 0000 0000 0000 0000 uuuu uuuu
MFI1 ● --00 --00 --00 --00 --00 --00 --00 --00 --uu --uu
PA ● ● ● ● 1111 1111 1111 1111 1111 1111 1111 1111 uuuu uuuu
PAC ● ● ● ● 1111 1111 1111 1111 1111 1111 1111 1111 uuuu uuuu
PAPU ● ● ● ● 0000 0000 0000 0000 0000 0000 0000 0000 uuuu uuuu
PAWU ● ● ● ● 0000 0000 0000 0000 0000 0000 0000 0000 uuuu uuuu
IFS0
● ● --00 --00 --00 --00 --00 --00 --00 --00 --uu --uu
● 0000 0-00 0000 0-00 0000 0-00 0000 0-00 uuuu u-uu
WDTC ● ● ● 0101 0011 0101 0011 0101 0011 0101 0011 uuuu uuuu
TBC ● ● ● ● 0011 -111 0011 -111 0011 -111 0011 -111 uuuu –uuu
SMOD1 ● ● ● ● 0--- 0x-0 0--- 0x-0 0--- 0x-0 0--- 0x-0 u--- uu-u
SCOMC ● -000 0000 -000 0000 -000 0000 -000 0000 -uuu uuuu
EEA ● ● ● ● ---0 0000 ---0 0000 ---0 0000 ---0 0000 ---u uuuu
EED ● ● ● ●
0000 0000 0000 0000 0000 0000 0000 0000 uuuu uuuu
SADOL
(ADRFS=0)
● ● ● ● xxxx ---- xxxx ---- xxxx ---- xxxx ---- uuuu ----
SADOL
(ADRFS=1)
● ● ● ● xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx uuuu uuuu
SADOH
(ADRFS=0)
● ● ● ● xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx uuuu uuuu
SADOH
(ADRFS=1)
● ● ● ● ---- xxxx ---- xxxx ---- xxxx ---- xxxx ---- uuuu