| Electronic Components Datasheet Search |
|
HT69F240 Datasheet(PDF) 46 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F240 Datasheet(HTML) 46 Page - Holtek Semiconductor Inc |
|
46 / 172 page ![]() Rev. 1.20 46 �a��� 2�� 201� Rev. 1.20 47 �a��� 2�� 201� HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver HT69F240 I/O 8-Bit Flash MCU with LED/LCD Driver Wake-up AfterthesystementerstheSLEEPorIDLEMode,itcanbewokenupfromoneofvarioussources listedasfollows: • Anexternalreset • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow IfthedeviceiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated.ThePDF flagisclearedbyasystempower-uporexecutingtheclearWatchdogTimerinstructionsandisset whenexecutingthe"HALT"instruction.TheTOflagissetifaWDTtime-outoccurs,andcauses awake-upthatonlyresetstheProgramCounterandStackPointer,theotherflagsremainintheir originalstatus. EachpinonPortAcanbesetupusingthePAWUregistertopermitanegativetransitiononthepin towake-upthesystem.WhenaPortApinwake-upoccurs,theprogramwillresumeexecutionat theinstructionfollowingthe"HALT"instruction.Ifthesystemiswokenupbyaninterrupt,then twopossiblesituationsmayoccur.Thefirstiswheretherelatedinterruptisdisabledortheinterrupt isenabledbutthestackisfull,inwhichcasetheprogramwillresumeexecutionattheinstruction followingthe"HALT"instruction.Inthissituation,theinterruptwhichwoke-upthedevicewillnot beimmediatelyserviced,butwillratherbeservicedlaterwhentherelatedinterruptisfinallyenabled orwhenastacklevelbecomesfree.Theothersituationiswheretherelatedinterruptisenabledand thestackisnotfull,inwhichcasetheregularinterruptresponsetakesplace.Ifaninterruptrequest flagissethighbeforeenteringtheSLEEPorIDLEMode,thewake-upfunctionoftherelated interruptwillbedisabled. Programming Considerations TheHXTandLXToscillatorsbothusethesameSSTcounter.Forexample,ifthesystemiswoken upfromtheSLEEP0ModeandboththeHXTandLXToscillatorsneedtostart-upfromanoffstate. TheLXToscillatorusestheSSTcounterafterHXToscillatorhasfinisheditsSSTperiod. • IfthedeviceiswokenupfromtheSLEEP0ModetotheNORMALMode,thehighspeedsystem oscillatorneedsanSSTperiod.ThedevicewillexecutefirstinstructionafterHTOis"1".At thistime,theLXToscillatormaynotbestableiffSUBisfromLXToscillator.Thesamesituation occursinthepower-onstate.TheLXToscillatorisnotreadyyetwhenthefirstinstructionis executed. • IfthedeviceiswokenupfromtheSLEEP1ModetoNORMALMode,andthesystemclock sourceisfromHXToscillatorandFSTENis"1",thesystemclockcanbeswitchedtotheLXTor LIRCoscillatorafterwakeup. • Thereareperipheralfunctions,suchasTimeBaseandTMs,forwhichthefSYSisused.Ifthe systemclocksourceisswitchedfromfHtofSUB,theclocksourcetotheperipheralfunctions mentionedabovewillchangeaccordingly. • ThefSUBon/offconditiondependsuponwhethertheWDTorLVDisenabledorbothdisabledas theclocksourceisselectedfromfSUB. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |