EasyManua.ls Logo

Holtek BS82B12A-3 - SLOW Mode to NORMAL Mode Switching

Holtek BS82B12A-3
168 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.20 54 January 23, 2015 Rev. 1.20 55 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
SLOW Mode to NORMAL Mode Switching
InSLOWModethesystemuseseithertheLXTorLIRClowspeedsystemoscillator.Toswitch
backtotheNORMALMode,wherethehighspeedsystemoscillatorisused,theHLCLKbitshould
besethighorHLCLKbitislow,butCKS2~CKS0issetto"010","011","100","101","110"or
"111".Asacertainamountoftimewillberequiredforthehighfrequencyclocktostabilise,the
statusoftheHTObitischecked.Theamountoftimerequiredforhighspeedsystemoscillator
stabilizationis15~16clockcycles.
 
  
  
  
  
 
 
   
 
   
  
   
  
   
Entering the SLEEP Mode
ThereisonlyonewayforthedevicestoentertheSLEEPModeandthatistoexecutethe"HALT"
instructionintheapplicationprogramwiththeIDLENbitinSMODregisterequalto"0".Whenthis
instructionisexecutedundertheconditionsdescribedabove,thefollowingwilloccur:
• Thesystemclockandthef
SUB
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WDTwillbeclearedandstopcounting.
• TheI/Oportswillmaintaintheirpresentconditions.
• Inthestatusregister,thePowerDownag,PDF,willbesetandtheWatchdogtime-outag,TO,
willbecleared.

Table of Contents

Related product manuals