Rev. 1.71 42 April 11, 2017 Rev. 1.71 43 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
Bit0 WRF:WDTControlregistersoftwareresetag
0:Notoccur
1:Occurred
Thisbitissetto1bytheWDTControlregistersoftwareresetandclearedby theapplication
program.Notethatthisbitcanonlybeclearedto0bytheapplicationprogram.
Operating Mode Switching
Thedevicescanswitchbetweenoperatingmodesdynamicallyallowingtheusertoselectthebest
performance/powerratioforthepresenttaskinhand.Inthiswaymicrocontrolleroperationsthat
donotrequirehighperformancecanbeexecutedusingslowerclocksthusrequiringlessoperating
currentandprolongingbatterylifeinportableapplications.
Insimpleterms,ModeSwitchingbetweentheNORMALModeandSLOWModeisexecuted
usingtheHLCLKbitandCKS2~CKS0bitsintheSMODregisterwhileModeSwitchingfromthe
NORMAL/SLOWModestotheSLEEP/IDLEModesisexecutedviatheHALTinstruction.When
aHALTinstructionisexecuted,whetherthedeviceenterstheIDLEModeortheSLEEPModeis
determinedbytheconditionoftheIDLENbitintheSMODregisterandFSYSONintheSMOD1
register.
WhentheHLCLKbitswitchestoalowlevel,whichimpliesthatclocksourceisswitchedfromthe
highspeedclocksource,f
H
,totheclocksource,f
H
/2~f
H
/64orf
L
.Iftheclockisfromthef
L
,thehigh
speedclocksourcewillstoprunningtoconservepower.Whenthishappensitmustbenotedthatthe
f
H
/16andf
H
/64internalclocksourceswillalsostoprunning,whichmayaffecttheoperationofother
internalfunctionssuchastheTMs.