Rev. 1.50 46 August 28, 2017 Rev. 1.50 47 August 28, 2017
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
System Operation Modes
Therearesixdifferentmodesofoperationforthemicrocontroller,eachonewithitsown
specialcharacteristicsandwhichcanbechosenaccordingtothespecificperformanceand
powerrequirementsoftheapplication.Therearetwomodesallowingnormaloperationofthe
microcontroller,theNORMALModeandSLOWMode.Theremainingfourmodes,theSLEEP0,
SLEEP1,IDLE0andIDLE1Mode,areusedwhenthemicrocontrollerCPUisswitchedoffto
conservepower.
Operation Mode
Description
CPU f
SYS
f
SUB
f
TBC
NORMAL On f
H
~f
H
/64 On On
SLOW On f
SUB
On On
IDLE0 Off Off On On
IDLE1 Off On On On
SLEEP0 Off Off Off Off
SLEEP1 Off Off On Off
NORMAL Mode
Asthenamesuggeststhisisoneofthemainoperatingmodeswherethemicrocontrollerhasallof
itsfunctionsoperationalandwherethesystemclockisprovidedbyoneofthehighspeedoscillators.
Thismodeoperatesallowingthemicrocontrollertooperatenormallywithaclocksourcewillcome
fromoneofthehighspeedoscillators,eithertheHXTorHIRCoscillators.Thehighspeedoscillator
willhoweverrstbedividedbyaratiorangingfrom1to64,theactualratiobeingselectedbythe
CKS2~CKS0andHLCLKbitsintheSMODregister.Althoughahighspeedoscillatorisused,
runningthemicrocontrolleratadividedclockratioreducestheoperatingcurrent.
SLOW Mode
Thisisalsoamodewherethemicrocontrolleroperatesnormallyalthoughnowwithaslowerspeed
clocksource.Theclocksourceusedwillbefromoneofthelowspeedoscillators,eithertheLXT
ortheLIRC.Runningthemicrocontrollerinthismodeallowsittorunwithmuchloweroperating
currents.IntheSLOWMode,thef
H
isoff.
SLEEP0 Mode
TheSLEEP0ModeisenteredwhenanHALTinstructionisexecutedandwhentheIDLENbitin
theSMODregisterislow.IntheSLEEP0modetheCPUwillbestopped,thef
SUB
clockwillalsobe
stoppedandtheWatchdogTimerfunctionisdisabled.Inthismode,theLVDENmustbesetto“0”.
IftheLVDENissetto“1”,itwon’tentertheSLEEP0Mode.
SLEEP1 Mode
TheSLEEP1ModeisenteredwhenanHALTinstructionisexecutedandwhentheIDLENbitinthe
SMODregisterislow.IntheSLEEP1modetheCPUwillbestopped.Howeverthef
SUB
clockwill
continuetooperateiftheWatchdogTimerfunctionisenabled.
IDLE0 Mode
TheIDLE0ModeisenteredwhenaHALTinstructionisexecutedandwhentheIDLENbitinthe
SMODregisterishighandtheFSYSONbitintheCTRLregisterislow.IntheIDLE0Modethe
systemoscillatorwillbeinhibitedfromdrivingtheCPUbutsomeperipheralfunctionswillremain
operationalsuchastheWatchdogTimerandTMs.IntheIDLE0Mode,thesystemoscillatorwillbe
stopped.