Rev. 2.50 62 June 22, 2017 Rev. 2.50 63 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
Operating Mode Switching
Thedevicecanswitchbetweenoperatingmodesdynamicallyallowingtheusertoselectthebest
performance/powerratioforthepresenttaskinhand.Inthiswaymicrocontrolleroperationsthat
donotrequirehighperformancecanbeexecutedusingslowerclocksthusrequiringlessoperating
currentandprolongingbatterylifeinportableapplications.
Insimpleterms,ModeSwitchingbetweentheNORMALModeandSLOWModeisexecuted
usingtheHLCLKbitandCKS2~CKS0bitsintheSMODregisterwhileModeSwitchingfromthe
NORMAL/SLOWModestotheSLEEP/IDLEModesisexecutedviatheHALTinstruction.When
aHALTinstructionisexecuted,whetherthedeviceenterstheIDLEModeortheSLEEPModeis
determinedbytheconditionoftheIDLENbitintheSMODregisterandFSYSONintheWDTC
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
internalfunctionssuchastheTMsandtheSIM.Theaccompanyingowchartshowswhathappens
whenthedevicemovesbetweenthevariousoperatingmodes.