поискавой системы для электроныых деталей |
|
HT46R002 датащи(PDF) 59 Page - Holtek Semiconductor Inc |
|
HT46R002 датащи(HTML) 59 Page - Holtek Semiconductor Inc |
59 / 83 page Rev. 1.21 58 April 11, 2017 Rev. 1.21 59 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU Interrupt Operation ATimer/EventCounteroverflow,acompletionofA/Dconversionoranactiveedgeontheexternal interruptpinwillallgenerateaninterruptrequestbysettingtheircorrespondingrequestflag,if theirappropriateinterruptenablebitisset.Whenthishappens,theProgramCounter,whichstores theaddressofthenextinstructiontobeexecuted,willbetransferredontothestack.TheProgram Counterwillthenbeloadedwithanewaddresswhichwillbethevalueofthecorresponding interruptvector.Themicrocontrollerwillthenfetchitsnextinstructionfromthisinterruptvector. TheinstructionatthisvectorwillusuallybeaJMPstatementwhichwilljumptoanothersection ofprogramwhichisknownastheinterruptserviceroutine.Hereislocatedthecodetocontrolthe appropriateinterrupt.TheinterruptserviceroutinemustbeterminatedwithaRETIinstruction, whichretrievestheoriginalProgramCounteraddressfromthestackandallowsthemicrocontroller tocontinuewithnormalexecutionatthepointwheretheinterruptoccurred. Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe followingdiagramwiththeirorderofpriority. Au to ma ti ca lly c l ear ed b y IS R m anual ly s et o r cl ear ed by s o ftw ar e Ex te rn al I nt er ru pt R eques t Fl ag IN TF Ti me r/ Ev ent C ount er 0 In te rr up t R eques t Fl ag T 0F IN TE T0 E EM I Pr io ri ty Hi gh Low In te rr upt Po llin g AD E A/ D C onv er si on In te rr upt R eques t Fl ag A DF Au to ma ti ca ll y di s abl ed by I SR c an be enabl ed m anua lly EM I EM I Interrupt Scheme Onceaninterruptsubroutineisserviced,alltheotherinterruptswillbeblocked,astheEMIbitwill beclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring.However, ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbeimmediately serviced,therequestflagwillstillberecorded.Ifaninterruptrequiresimmediateservicingwhilethe programisalreadyinanotherinterruptserviceroutine,theEMIbitshouldbesetafterenteringthe routine,toallowinterruptnesting.Ifthestackisfull,theinterruptrequestwillnotbeacknowledged, eveniftherelatedinterruptisenabled,untiltheStackPointerisdecremented.Ifimmediateservice isdesired,thestackmustbepreventedfrombecomingfull. Whenaninterruptrequestisgeneratedittakes2or3instructioncyclesbeforetheprogramjumpsto theinterruptvector.IfthedeviceisintheSleepModeandiswokenupbyaninterruptrequestthen itwilltake3cyclesbeforetheprogramjumpstotheinterruptvector. |
Аналогичный номер детали - HT46R002 |
|
Аналогичное описание - HT46R002 |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | обмен ссыками | поиск по производителю 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 |