User`s guide

Rev. 1.10 38 November 14, 2014 Rev. 1.10 39 November 14, 2014
HT66FW2230
Wireless Charger A/D Flash 8-Bit MCU
Entering the SLEEP Mode
ThereisonlyonewayforthedevicetoentertheSLEEPModeandthatistoexecutethe“HALT”
instructionintheapplicationprogramwithboththeFHIDENandFLIDENbitsintheSCCregister
equalto“0”.Whenthisinstructionisexecutedundertheconditionsdescribedabove,thefollowing
willoccur:
• Thesystemclockwillbestoppedandtheapplicationprogramwillstopatthe"HALT"
instruction.
•
TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownagPDFwillbeset,andWDTtimeoutagTOwillbe
cleared.
•
TheWDTwillbeclearedandresumecounting.
Entering the IDLE0 Mode
ThereisonlyonewayforthedevicetoentertheIDLE0Modeandthatistoexecutethe“HALT”
instructionintheapplicationprogramwiththeFSIDENbitintheSCCregisterequalto“1”andthe
FHIDENbitintheSCCregisterequalto“0”.Whenthisinstructionisexecutedundertheconditions
describedabove,thefollowingwilloccur:
• Thef
H
clockwillbestoppedandtheapplicationprogramwillstopatthe“HALT”instruction,but
thef
SUB
clockwillbeon.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownagPDFwillbeset,andWDTtimeoutagTOwillbe
cleared.
•
TheWDTwillbeclearedandresumecounting.
Entering the IDLE1 Mode
ThereisonlyonewayforthedevicetoentertheIDLE1Modeandthatistoexecutethe“HALT”
instructionintheapplicationprogramwithboththeFHIDENandFLIDENbitintheSCCregister
equalto“1”.Whenthisinstructionisexecutedundertheconditionsdescribedabove,thefollowing
willoccur:
• Thef
H
andf
SUB
clockwillbeonbuttheapplicationprogramwillstopatthe“HALT”instruction.
• TheDataMemorycontentsandregisterswillmaintaintheirpresentcondition.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownagPDFwillbeset,andWDTtimeoutagTOwillbe
cleared.
•
TheWDTwillbeclearedandresumecounting.