| 数据搜索系统,热门电子元器件搜索 |
|
HT45F56 数据表(PDF) 70 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F56 数据表(HTML) 70 Page - Holtek Semiconductor Inc |
|
70 / 90 page ![]() Rev. 1.11 70 April 11, 2017 Rev. 1.11 71 April 11, 2017 HT45F56 Shock Detector Flash MCU HT45F56 Shock Detector Flash MCU Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe accompanyingdiagramswiththeirorderofpriority.Someinterruptsourceshavetheirown individualvectorwhileotherssharethesamemulti-functioninterruptvector.Onceaninterrupt subroutineisserviced,allotherinterruptswillbeblocked,astheglobalinterruptenablebit,EMI bitwillbeclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring. However,ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbe immediatelyserviced,therequestflagwillstillberecorded. Ifaninterruptrequiresimmediateservicingwhiletheprogramisalreadyinanotherinterruptservice routine,theEMIbitshouldbesetafterenteringtheroutinetoallowinterruptnesting.Ifthestack isfull,theinterruptrequestwillnotbeacknowledged,eveniftherelatedinterruptisenabled,until theStackPointerisdecremented.Ifimmediateserviceisdesired,thestackmustbepreventedfrom becomingfull.Incaseofsimultaneousrequests,theaccompanyingdiagramshowstheprioritythat isapplied.AlloftheinterruptrequestflagswhensetwillwakeupthedeviceifitisinSLEEPor IDLEMode,howevertopreventawake-upfromoccurringthecorrespondingflagshouldbeset beforethedeviceisinSLEEPorIDLEMode. Comparator CPF CPE EMI 04H EMI 08H Debounce DEBF DEBE EMI 0CH EMI 10H Time Base 0 TB0F TB0E EMI 14H EMI 18H Interrupt Name Request Flags Enable Bits Master Enable Vector EMI auto disabled in ISR Priority High Low EMI 1CH Time Base 1 TB1F TB1E CTM P CTMPF CTMPE CTM A CTMAF CTMAE EEPROM DEF DEE xxE Enable Bits xxF Request Flag, auto reset in ISR Legend Interrupt Structure Comparator Interrupt TheComparatorInterruptiscontrolledbytheComparatoroutputtransition.AComparatorInterrupt requestwilltakeplacewhentheComparatorInterruptrequestflag,CPF,isset,whichoccurswhen theComparatoroutputchangesstate.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,theglobalinterruptenablebit,EMI,andComparatorInterruptenablebit,CPE,must firstbeset.Whentheinterruptisenabled,thestackisnotfullandtheComparatoroutputtransition occurs,asubroutinecalltotheComparatorInterruptvectorwilltakeplace.Whentheinterruptis serviced,theComparatorInterruptflag,CPF,willbeautomaticallycleared.TheEMIbitwillalsobe automaticallyclearedtodisableotherinterrupts. |
|
链接网址 |
| 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 |