| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT68F005 bảng dữ liệu(PDF) 72 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 bảng dữ liệu(HTML) 72 Page - Holtek Semiconductor Inc |
|
72 / 93 page ![]() Rev. 1.00 7� ��to�e� ��� �01� Rev. 1.00 73 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU Interrupt Operation Whentheconditionsforaninterrupteventoccur,suchasaTMComparatorPorComparatorA match,etc.,therelevantinterruptrequestflagwillbeset.Whethertherequestflagactuallygenerates aprogramjumptotherelevantinterruptvectorisdeterminedbytheconditionoftheinterruptenable bit.Iftheenablebitissethighthentheprogramwilljumptoitsrelevantvector;iftheenablebitis zerothenalthoughtheinterruptrequestflagissetanactualinterruptwillnotbegeneratedandthe programwillnotjumptotherelevantinterruptvector.Theglobalinterruptenablebit,ifclearedto zero,willdisableallinterrupts. Whenaninterruptisgenerated,theProgramCounter,whichstorestheaddressofthenextinstruction tobeexecuted,willbetransferredontothestack.TheProgramCounterwillthenbeloadedwitha newaddresswhichwillbethevalueofthecorrespondinginterruptvector.Themicrocontrollerwill thenfetchitsnextinstructionfromthisinterruptvector.Theinstructionatthisvectorwillusually bea“JMP”whichwilljumptoanothersectionofprogramwhichisknownastheinterruptservice routine.Hereislocatedthecodetocontroltheappropriateinterrupt.Theinterruptserviceroutine mustbeterminatedwitha“RETI”,whichretrievestheoriginalProgramCounteraddressfrom thestackandallowsthemicrocontrollertocontinuewithnormalexecutionatthepointwherethe interruptoccurred. Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe accompanyingdiagramswiththeirorderofpriority.Someinterruptsourceshavetheirown individualvectorwhileotherssharethesamemulti-functioninterruptvector.Onceaninterrupt subroutineisserviced,alltheotherinterruptswillbeblocked,astheglobalinterruptenablebit, EMIbitwillbeclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring. However,ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbe immediatelyserviced,therequestflagwillstillberecorded. Ifaninterruptrequiresimmediateservicingwhiletheprogramisalreadyinanotherinterruptservice routine,theEMIbitshouldbesetafterenteringtheroutine,toallowinterruptnesting.Ifthestack isfull,theinterruptrequestwillnotbeacknowledged,eveniftherelatedinterruptisenabled,until theStackPointerisdecremented.Ifimmediateserviceisdesired,thestackmustbepreventedfrom becomingfull.Incaseofsimultaneousrequests,theaccompanyingdiagramshowstheprioritythat isapplied.Alloftheinterruptrequestflagswhensetwillwake-upthedevicesifitisinSLEEPor IDLEMode,howevertopreventawake-upfromoccurringthecorrespondingflagshouldbeset beforethedevicesareinSLEEPorIDLEMode. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |