| Zakładka z wyszukiwarką danych komponentów |
|
HT45F56 Arkusz danych(PDF) 37 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 Arkusz danych(HTML) 37 Page - Holtek Semiconductor Inc |
|
37 / 90 page ![]() Rev. 1.11 36 April 11, 2017 Rev. 1.11 37 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Standby Current Considerations AsthemainreasonforenteringtheSLEEPorIDLEModeistokeepthecurrentconsumptionofthe devicetoaslowavalueaspossible,perhapsonlyintheorderofseveralmicro-ampsexceptinthe IDLE1Mode,thereareotherconsiderationswhichmustalsobetakenintoaccountbythecircuit designerifthepowerconsumptionistobeminimised.SpecialattentionmustbemadetotheI/Opins onthedevice.Allhigh-impedanceinputpinsmustbeconnectedtoeitherafixedhighorlowlevelas anyfloatinginputpinscouldcreateinternaloscillationsandresultinincreasedcurrentconsumption. Thisalsoappliestodeviceswhichhavedifferentpackagetypes,astheremaybeunbonbedpins. Thesemusteitherbesetupasoutputsorifsetupasinputsmusthavepull-highresistorsconnected. Caremustalsobetakenwiththeloads,whichareconnectedtoI/Opins,whicharesetupasoutputs. Theseshouldbeplacedinaconditioninwhichminimumcurrentisdrawnorconnectedonlyto externalcircuitsthatdonotdrawcurrent,suchasotherCMOSinputs.IntheIDLE1Modethe systenoscillatorison,iftheperipheralfunctionclocksourceisderivedfromthehighspeedsystem oscillator,theadditionalstandbycurrentwillalsobeperhapsintheorderofseveralhundredmicro- amps. Wake-up TominimisepowerconsumptionthedevicecanentertheSLEEPoranyIDLEMode,wherethe CPUwillbeswitchedoff.However,whenthedeviceiswokenupagain,itwilltakeaconsiderable timefortheoriginalsystemoscillatortorestart,stabliseandallownormaloperationtoresume. AfterthesystementerstheSLEEPorIDLEMode,itcanbewokenupfromoneofvarioussources listedasfollows: • Anexternalreset • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow Ifthesystemiswokenupbyanexternalreset,thedevicewillexperienceafullsystemreset. However,ifthedeviceiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated. Althoughbothofthesewake-upmethodswillinitiatearesetoperation,theactualsourceofthe wake-upcanbedeterminedbyexaminingtheTOandPDFflags.ThePDFflagisclearedbya systempower-uporexecutingtheclearWatchdogTimerinstructionsandissetwhenexecutingthe “HALT”instruction.TheTOflagissetifaWDTtime-outoccurs,andcausesawake-upthatonly resetstheProgramCounterandStackPointer,theotherflagsremainintheiroriginalstatus. 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. |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |