| 数据搜索系统,热门电子元器件搜索 |
|
HT45F2020 数据表(PDF) 32 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F2020 数据表(HTML) 32 Page - Holtek Semiconductor Inc |
|
32 / 85 page ![]() Rev. 1.00 32 April 11, 2017 Rev. 1.00 33 April 11, 2017 HT45F2020/HT45F2022 Sound Effect Generator Flash MCU HT45F2020/HT45F2022 Sound Effect Generator Flash MCU Standby Current Considerations AsthemainreasonforenteringtheSLEEPorIDLEModeistokeepthecurrentconsumptionofthe devicetoaslowavalueaspossible,perhapsonlyintheorderofseveralmicro-ampsexceptinthe IDLE1andIDLE2Mode,thereareotherconsiderationswhichmustalsobetakenintoaccountby thecircuitdesignerifthepowerconsumptionistobeminimised.Specialattentionmustbemade totheI/Opinsonthedevice.Allhigh-impedanceinputpinsmustbeconnectedtoeitherafixed highorlowlevelasanyfloatinginputpinscouldcreateinternaloscillationsandresultinincreased currentconsumption.Thesemusteitherbesetupasoutputsorifsetupasinputsmusthavepull-high resistorsconnected. Caremustalsobetakenwiththeloads,whichareconnectedtoI/Opins,whicharesetupasoutputs. Theseshouldbeplacedinaconditioninwhichminimumcurrentisdrawnorconnectedonlyto externalcircuitsthatdonotdrawcurrent,suchasotherCMOSinputs.Alsonotethatadditional standbycurrentwillalsoberequirediftheLIRCoscillatorhasenabled. IntheIDLE1andIDLE2Modethehighspeedoscillatorison,iftheperipheralfunctionclock sourceisderivedfromthehighspeedoscillator,theadditionalstandbycurrentwillalsobeperhaps intheorderofseveralhundredmicro-amps. Wake-up TominimisepowerconsumptionthedevicecanentertheSLEEPoranyIDLEMode,wherethe CPUwillbeswitchedoff.However,whenthedeviceiswokenupagain,itwilltakeaconsiderable timefortheoriginalsystemoscillatortorestart,stabliseandallownormaloperationtoresume. AfterthesystementerstheSLEEPorIDLEMode,itcanbewokenupfromoneofvarioussources listedasfollows: • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow Whenthedeviceexecutesthe“HALT”instruction,thePDFflagwillbesetto1.ThePDFflagwill beclearedto0ifthedeviceexperiencesasystempower-uporexecutestheclearWatchdogTimer instruction.IfthesystemiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated andtheTOflagwillbesetto1.TheTOflagissetifaWDTtime-outoccursandcausesawake-up thatonlyresetstheProgramCounterandStackPointer,otherflagsremainintheiroriginalstatus. EachpinonPortAcanbesetupusingthePAWUregistertopermitanegativetransitiononthepin towakeupthesystem.WhenaPortApinwake-upoccurs,theprogramwillresumeexecutionat theinstructionfollowingthe“HALT”instruction.Ifthesystemiswokenupbyaninterrupt,then twopossiblesituationsmayoccur.Thefirstiswheretherelatedinterruptisdisabledortheinterrupt isenabledbutthestackisfull,inwhichcasetheprogramwillresumeexecutionattheinstruction followingthe“HALT”instruction.Inthissituation,theinterruptwhichwokeupthedevicewillnot beimmediatelyserviced,butwillratherbeservicedlaterwhentherelatedinterruptisfinallyenabled orwhenastacklevelbecomesfree.Theothersituationiswheretherelatedinterruptisenabledand thestackisnotfull,inwhichcasetheregularinterruptresponsetakesplace.Ifaninterruptrequest flagissethighbeforeenteringtheSLEEPorIDLEMode,thewake-upfunctionoftherelated interruptwillbedisabled. |
|
链接网址 |
| 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 |