| Electronic Components Datasheet Search |
|
HT45F39 Datasheet(PDF) 83 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F39 Datasheet(HTML) 83 Page - Holtek Semiconductor Inc |
|
83 / 102 page ![]() Rev. 1.10 82 July 01, 2016 Rev. 1.10 83 July 01, 2016 HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU HT45F39/HT45F391 Ultrasonic Distance Measurement 8-bit Flash MCU Auto-Envelop Comparator ENVCMPF ENVCMPE EMI 04H EMI 08H CTM0 CCRA TA0F TA0E EMI 0CH EMI 10H EMI 14H INT Pin INTF INTE EMI 20H Interrupt Name Request Flags Enable Bits Master Enable Vector EMI auto disabled in ISR Priority High Low CTM0 CCRP TP0F TP0E xxE Enable Bits xxF Request Flag, auto reset in ISR Legend xxF Request Flag, no auto reset in ISR EMI 24H 10-Level FIFO INT FIFO10E FIFO10F CTM1 CCRA TA1F TA1E A/D ADF ADE EMI 18H CTM1 CCRP TP1F TP1E Interrupt Structure External Interrupt TheexternalinterruptiscontrolledbysignaltransitiononthepinINT.Anexternalinterruptrequest willtakeplacewhentheexternalinterruptrequestflag,INTFisset,whichwilloccurwhena transition,whosetypeischosenbytheedgeselectbits,appearsontheexternalinterruptpin.To allowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit, EMI,andrespectiveexternalinterruptenablebitINTE,mustfirstbeset.Additionallythecorrect interruptedgetypemustbeselectedusingtheINTEDEGregistertoenabletheexternalinterrupt functionandtochoosethetriggeredgetype.Astheexternalinterruptpinispin-sharedwithI/ Opin,itcanonlybeconfiguredasexternalinterruptpinifitsexternalinterruptenablebitinthe correspondinginterruptregisterhasbeenset. Thepinmustalsobesetupasaninputbysettingthecorrespondingbitintheportcontrolregister. Whentheinterruptisenabled,thestackisnotfullandthecorrecttransitiontypeappearsonthe externalinterruptpin,asubroutinecalltotheexternalinterruptvector,willtakeplace.Whenthe interruptisserviced,theexternalinterruptrequestflags,INT0F,INT1F,willbeautomatically resetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts.Notethatanypull- highresistorselectionsontheexternalinterruptpinswillremainvalidevenifthepinisusedasan externalinterruptinput. TheINTEDEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternal interrupt.Achoiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternal interrupt.NotethattheINTEDEGregistercanalsobeusedtodisabletheexternalinterruptfunction. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |