Rev. 2.50 64 June 22, 2017 Rev. 2.50 65 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
Entering the SLEEP0 Mode
ThereisonlyonewayforthedevicetoentertheSLEEP0Modeandthatistoexecutethe"HALT"
instructionintheapplicationprogramwiththeIDLENbitinSMODregisterequalto"0"andthe
WDTandLVDbothoff.Whenthisinstructionisexecutedundertheconditionsdescribedabove,the
followingwilloccur:
• Thesystemclock,WDTclockandTimeBaseclockwillbestoppedandtheapplicationprogram
willstopatthe"HALT"instruction.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheWDTwillbeclearedandstoppednomatteriftheWDTclocksourceoriginatesfromthef
SUB
clockorfromthesystemclock.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownag,PDF,willbesetandtheWatchdogtime-outag,TO,
willbecleared.
Entering the SLEEP1 Mode
ThereisonlyonewayforthedevicetoentertheSLEEP1Modeandthatistoexecutethe"HALT"
instructionintheapplicationprogramwiththeIDLENbitinSMODregisterequalto"0"andthe
WDTorLVDon.Whenthisinstructionisexecutedundertheconditionsdescribedabove,the
followingwilloccur:
• ThesystemclockandTimeBaseclockwillbestoppedandtheapplicationprogramwillstopat
the“HALT”instruction,buttheWDTorLVDwillremainwiththeclocksourcecomingfromthe
f
SUB
clock.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheWDTwillbeclearedandresumecountingiftheWDTclocksourceisselectedtocomefrom
thef
SUB
clockastheWDTisenabled.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownag,PDF,willbesetandtheWatchdogtime-outag,TO,
willbecleared.
Entering the IDLE0 Mode
ThereisonlyonewayforthedevicetoentertheIDLE0Modeandthatistoexecutethe“HALT”
instructionintheapplicationprogramwiththeIDLENbitinSMODregisterequalto“1”andthe
FSYSONbitinWDTCregisterequalto“0”.Whenthisinstructionisexecutedundertheconditions
describedabove,thefollowingwilloccur:
• Thesystemclockwillbestoppedandtheapplicationprogramwillstopatthe“HALT”
instruction,buttheTimeBaseclockandf
SUB
clockwillbeon.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheWDTwillbeclearedandresumecountingiftheWDTclocksourceisselectedtocomefrom
thef
SUB
clockandtheWDTisenabled.TheWDTwillstopifitsclocksourceoriginatesfromthe
systemclock.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownag,PDF,willbesetandtheWatchdogtime-outag,TO,
willbecleared.