| Electronic Components Datasheet Search |
|
HT45F3820 Datasheet(PDF) 97 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3820 Datasheet(HTML) 97 Page - Holtek Semiconductor Inc |
|
97 / 121 page ![]() Rev. 1.11 96 April 11, 2017 Rev. 1.11 97 April 11, 2017 HT45F3820 Ultrasonic Atomizer Flash MCU HT45F3820 Ultrasonic Atomizer Flash MCU INT0 Pin INT1 Pin INT0F INT1F INT0E INT1E EMI 04H 08H EMI Time Base 0 TB0F TB0E EMI Interrupt Name Request Flags Enable Bits Master Enable Vector EMI auto disabled in ISR Priority High Low Interrupts contained within Multi-Function Interrupts xxE Enable Bits xxF Request Flag, auto reset in ISR Legend xxF Request Flag, no auto reset in ISR EMI 1CH EMI 20H M. Funct. 0 MF0F MF0E Time Base 1 TB1F TB1E 18H EMI 10H LVD LVF LVE M. Funct. 2 MF2F MF2E EEPROM DEF DEE STM P STMPF STMPE STM A STMAF STMAE OCVP OCVPF OCVPE EMI 24H 14H EMI M. Funct. 1 MF1F MF1E PTM P PTMPF PTMPE PTM A PTMAF PTMAE Interrupt Structure External Interrupts TheexternalinterruptsarecontrolledbysignaltransitionsonthepinsINT0~INT1.Anexternal interruptrequestwilltakeplacewhentheexternalinterruptrequestflags,INT0F~INT1F,areset, whichwilloccurwhenatransition,whosetypeischosenbytheedgeselectbits,appearsonthe externalinterruptpins.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,the globalinterruptenablebit,EMI,andrespectiveexternalinterruptenablebit,INT0E~INT1E,must firstbeset.AdditionallythecorrectinterruptedgetypemustbeselectedusingtheINTEGregisterto enabletheexternalinterruptfunctionandtochoosethetriggeredgetype.Astheexternalinterrupt pinsarepin-sharedwithI/Opins,theycanonlybeconfiguredasexternalinterruptpinsiftheir externalinterruptenablebitinthecorrespondinginterruptregisterhasbeenset.Thepinmustalsobe setupasaninputbysettingthecorrespondingbitintheportcontrolregisteraswellastherelevant pin-sharedfunctionselectionbits.Whentheinterruptisenabled,thestackisnotfullandthecorrect transitiontypeappearsontheexternalinterruptpin,asubroutinecalltotheexternalinterruptvector, willtakeplace.Whentheinterruptisserviced,theexternalinterruptrequestflags,INT0F~INT1F, willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. Notethatanypull-highresistorselectionsontheexternalinterruptpinswillremainvalidevenifthe pinisusedasanexternalinterruptinput. TheINTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt. Achoiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. |
|
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 |