User`s guide
Rev. 1.10 44 November 14, 2014 Rev. 1.10 45 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
“CLR WDT”Instruction
8-stage Divider WDT Prescaler
WE4~WE0 bits
WDTC
Register
Reset MCU
f
SUB
f
SUB
/2
8
8-to-1 MUX
CLR
WS2~WS0 WDT Time-out
(2
8
/f
SUB
~ 2
18
/f
SUB
)
“HALT”Instruction
Watchdog Timer
Reset and Initialisation
Aresetfunctionisafundamentalpartofanymicrocontrollerensuringthatthedevicecanbeset
tosomepredeterminedconditionirrespectiveofoutsideparameters.Thereisanumberofother
hardwareandsoftwareresetsourcesthatcanbeimplementeddynamicallywhenthedeviceis
running.
Reset Overview
Themostimportantresetconditionisafterpowerisrstappliedtothemicrocontroller.Inthiscase,
internalcircuitrywillensurethatthemicrocontroller,afterashortdelay,willbeinawelldened
stateandreadytoexecutetherstprograminstruction.Afterthispower-onreset,certainimportant
internalregisterswillbesettodenedstatesbeforetheprogramcommences.Oneoftheseregisters
istheProgramCounter,whichwillberesettozeroforcingthemicrocontrollertobeginprogram
executionfromthelowestProgramMemoryaddress.
Thedeviceprovidesseveralresetsourcestogeneratetheinternalresetsignal,providingextended
MCUprotection.Thedifferenttypesofresetsarelistedintheaccompanyingtable.
Reset Name Abbreviation Indication Bit Register Notes
Power-On Reset POR — — Auto generated at power on
RSTC Register Setting
Software Reset
— ERSTF RSTFC Write to RSTC register
Low-Voltage Reset LVR LRF RSTFC Low V
DD
voltage
Watchdog Reset WDT TO STATUS
WDT Time-out
WDTC Register Setting
Software Reset
— WRF RSTFC Write to WDTC register
MCD Reset — — — Missing Clock Detector
AnothertypeofresetiswhentheWatchdogTimeroverflowsandresetsthemicrocontroller.All
typesofresetoperationsresultindifferentregisterconditionsbeingsetup.Anotherresetexistsin
theformofaLowVoltageResetwhichisimplementedinsituationswherethepowersupplyvoltage
fallsbelowacertainthreshold.