| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45FM2C bảng dữ liệu(PDF) 138 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM2C bảng dữ liệu(HTML) 138 Page - Holtek Semiconductor Inc |
|
138 / 171 page ![]() Rev. 1.10 1�8 �a� �0� �01� Rev. 1.10 1�9 �a� �0� �01� HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU Preliminar� MFI8 Register Bit 7 6 5 4 3 2 1 0 Name — — EPWF LVDF — — EPWE LVDE R/W — — R/W R/W — — R/W R/W POR — — 0 0 — — 0 0 Bit7~6 Unimplemented,readas"0" Bit 5 EPWF: DataEEPROMinterruptrequestflag 0:Norequest 1:Interruptrequest Bit 4 LVDF: LVDinterruptrequestflag 0:Norequest 1:Interruptrequest Bit3~2 Unimplemented,readas"0" Bit 1 EPWE: DataEEPROMinterruptcontrol 0:Disable 1:Enable Bit 0 LVDE: LVDinterruptcontrol 0:Disable 1:Enable Interrupt Operation Whentheconditionsforaninterrupteventoccur,suchasaTMComparePorCompareAmatchor A/Dconversioncompletionetc,therelevantinterruptrequestflagwillbeset.Whethertherequest flagactuallygeneratesaprogramjumptotherelevantinterruptvectorisdeterminedbythecondition oftheinterruptenablebit.Iftheenablebitissethighthentheprogramwilljumptoitsrelevant vector;iftheenablebitiszerothenalthoughtheinterruptrequestflagissetanactualinterruptwill notbegeneratedandtheprogramwillnotjumptotherelevantinterruptvector.Theglobalinterrupt enablebit,ifclearedtozero,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 |
|
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 |