| 전자부품 데이터시트 검색엔진 |
|
HT45F39 데이터시트(PDF) 33 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 데이터시트(HTML) 33 Page - Holtek Semiconductor Inc |
|
33 / 102 page ![]() Rev. 1.10 32 July 01, 2016 Rev. 1.10 33 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU Standby Current Considerations AsthemainreasonforenteringtheSLEEPModeistokeepthecurrentconsumptionofthe devicestoaslowavalueaspossible,perhapsonlyintheorderofseveralmicro-amps,thereare otherconsiderationswhichmustalsobetakenintoaccountbythecircuitdesignerifthepower consumptionistobeminimised.SpecialattentionmustbemadetotheI/Opinsonthedevices.All high-impedanceinputpinsmustbeconnectedtoeitherafixedhighorlowlevelasanyfloatinginput pinscouldcreateinternaloscillationsandresultinincreasedcurrentconsumption. Caremustalsobetakenwiththeloads,whichareconnectedtoI/Opins,whicharesetupasoutputs. Theseshouldbeplacedinaconditioninwhichminimumcurrentisdrawnorconnectedonlyto externalcircuitsthatdonotdrawcurrent,suchasotherCMOSinputs.Alsonotethatadditional standbycurrentwillalsoberequirediftheLIRCoscillatorisenabled. Wake-up AfterthesystementerstheSLEEPMode,itcanbewokenupfromoneofvarioussourceslistedas follows: • AnexternalfallingedgeonPortA • Asysteminterrupt • AWDToverflow IfthesystemiswokenupbyaWDToverflow,aWatchdogTimerresetwillbeinitiated.Although bothofthesewake-upmethodswillinitiatearesetoperation,theactualsourceofthewake-upcan bedeterminedbyexaminingtheTOandPDFflags.ThePDFflagisclearedbyasystempower-upor executingtheclearWatchdogTimerinstructionsandissetwhenexecutingthe"HALT"instruction. TheTOflagissetifaWDTtime-outoccurs,andcausesawake-upthatonlyresetstheProgram CounterandStackPointer,theotherflagsremainintheiroriginalstatus. EachpinonPortAcanbesetupusingthePAWKregistertopermitanegativetransitiononthe pintowake-upthesystem.WhenaPortApinwake-upoccurs,theprogramwillresumeexecution attheinstructionfollowingthe"HALT"instruction.Ifthesystemiswokenupbyaninterrupt,then twopossiblesituationsmayoccur.Thefirstiswheretherelatedinterruptisdisabledortheinterrupt isenabledbutthestackisfull,inwhichcasetheprogramwillresumeexecutionattheinstruction followingthe"HALT"instruction.Inthissituation,theinterruptwhichwoke-upthedeviceswillnot beimmediatelyserviced,butwillratherbeservicedlaterwhentherelatedinterruptisfinallyenabled orwhenastacklevelbecomesfree.Theothersituationiswheretherelatedinterruptisenabledandthe stackisnotfull,inwhichcasetheregularinterruptresponsetakesplace.Ifaninterruptrequestflagisset highbeforeenteringtheSLEEPMode,thewake-upfunctionoftherelatedinterruptwillbedisabled. Programming Considerations IfthedevicesarewokenupfromtheSLEEPModetotheNORMALMode,thehighspeedsystem oscillatorneedsanSSTperiod.ThedevicewillexecutefirstinstructionafterTOis"1". |
|
링크 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 |