| 전자부품 데이터시트 검색엔진 |
|
HT45F23A 데이터시트(PDF) 49 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F23A 데이터시트(HTML) 49 Page - Holtek Semiconductor Inc |
|
49 / 148 page ![]() Rev. 1.00 48 ���� 0�� �01� Rev. 1.00 49 ���� 0�� �01� HT45F23A 8-Bit Flash MCU with Op Amps & Comparators HT45F23A 8-Bit Flash MCU with Op Amps & Comparators Wake-up AfterthesystementerstheSLEEPorIDLEMode,itcanbewokenupfromoneofvarioussources listedasfollows: • Anexternalreset • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow Ifthesystemiswokenupbyanexternalreset,thedevicewillexperienceafullsystemreset, however,ifthedeviceiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated. Althoughbothofthesewake-upmethodswillinitiatearesetoperation,theactualsourceofthe wake-upcanbedeterminedbyexaminingtheTOandPDFflags.ThePDFflagisclearedbya systempower-uporexecutingtheclearWatchdogTimerinstructionsandissetwhenexecuting the"HALT"instruction.TheTOflagissetifaWDTtime-outoccurs,andcausesawake-upthatonly resetstheProgramCounterandStackPointer,theotherflagsremainintheiroriginalstatus. EachpinonPortAcanbesetupusingthePAWUregistertopermitanegativetransitiononthepin towake-upthesystem.WhenaPortApinwake-upoccurs,theprogramwillresumeexecutionat theinstructionfollowingthe"HALT"instruction.Ifthesystemiswokenupbyaninterrupt,then twopossiblesituationsmayoccur.Thefirstiswheretherelatedinterruptisdisabledortheinterrupt isenabledbutthestackisfull,inwhichcasetheprogramwillresumeexecutionattheinstruction followingthe"HALT"instruction.Inthissituation,theinterruptwhichwoke-upthedevicewillnotbe immediatelyserviced,butwillratherbeservicedlaterwhentherelatedinterruptisfinallyenabledor whenastacklevelbecomesfree.Theothersituationiswheretherelatedinterruptisenabledandthe stackisnotfull,inwhichcasetheregularinterruptresponsetakesplace.Ifaninterruptrequestflagis sethighbeforeenteringtheSLEEPorIDLEMode,thewake-upfunctionoftherelatedinterruptwill bedisabled. Programming Considerations TheHXTandLXToscillatorsbothusethesameSSTcounter.Forexample,ifthesystemiswoken upfromtheSLEEP0ModeandboththeHXTandLXToscillatorsneedtostart-upfromanoffstate. TheLXToscillatorusestheSSTcounterafterHXToscillatorhasfinisheditsSSTperiod. • IfthedeviceiswokenupfromtheSLEEP0ModetotheNORMALMode,thehighspeedsystem oscillatorneedsanSSTperiod.ThedevicewillexecutefirstinstructionafterHTOis"1".At thistime,theLXToscillatormaynotbestabilityiffSUBisfromLXToscillator.Thesamesituation occursinthepower-onstate.TheLXToscillatorisnotreadyyetwhenthefirstinstructionis executed. • IfthedeviceiswokenupfromtheSLEEP1ModetoNORMALMode,andthesystemclock sourceisfromHXToscillatorandFSTENis"1",thesystemclockcanbeswitchedtotheLXTor LIRCoscillatorafterwakeup. • Thereareperipheralfunctions,suchasWDT,TMsandSIM,forwhichthef SYS isused.Ifthe systemclocksourceisswitchedfromfHtofL,theclocksourcetotheperipheralfunctions mentionedabovewillchangeaccordingly. • Theon/offconditionoffSUBandf S dependsuponwhethertheWDTisenabledordisabledasthe WDTclocksourceisselectedfromf SUB . |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |