| Electronic Components Datasheet Search |
|
HT45F4M Datasheet(PDF) 113 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4M Datasheet(HTML) 113 Page - Holtek Semiconductor Inc |
|
113 / 138 page ![]() Rev. 1.10 11� �an�a�� 1�� �01� Rev. 1.10 11� �an�a�� 1�� �01� HT45F4M Lithium Battery Backup Power ASSP MCU HT45F4M Lithium Battery Backup Power ASSP MCU External Interrupt 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.Thepinmustalso besetupasaninputbysettingthecorrespondingbitintheportcontrolregister.Whentheinterrupt isenabled,thestackisnotfullandthecorrecttransitiontypeappearsontheexternalinterruptpin, asubroutinecalltotheexternalinterruptvector,willtakeplace.Whentheinterruptisserviced,the externalinterruptrequestflags,INT0F,INT1F,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorselectionsonthe externalinterruptpinswillremainvalidevenifthepinisusedasanexternalinterruptinput.The INTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt.A choiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. OVP Interrupt AnOVPInterruptrequestwilltakeplacewhentheOverVoltageProtectionInterruptrequestflag, OVPF,isset,whichoccurswhentheOverVoltageProtectionfunctiondetectsanovervoltage condition.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal interruptenablebit,EMI,andOverVoltageProtectionInterruptenablebit,mustfirstbeset.When theinterruptisenabled,thestackisnotfullandanovervoltageconditionoccurs,asubroutinecall totheOVPInterruptvector,willtakeplace.WhentheOverVoltageProtectionInterruptisserviced, theEMIbitwillbeautomaticallyclearedtodisableotherinterruptsandtheinterruptrequestflag willbealsoautomaticallycleared. OCP Interrupt AnOCPInterruptrequestwilltakeplacewhentheOverCurrentProtectionInterruptrequestflag, OCPF,isset,whichoccurswhentheOverCurrentProtectionfunctiondetectsanovercurrent condition.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobal interruptenablebit,EMI,andOverCurrentProtectionInterruptenablebit,mustfirstbeset.When theinterruptisenabled,thestackisnotfullandanovercurrentconditionoccurs,asubroutinecall totheOCPInterruptvector,willtakeplace.WhentheOverCurrentProtectionInterruptisserviced, theEMIbitwillbeautomaticallyclearedtodisableotherinterruptsandtheinterruptrequestflag willbealsoautomaticallycleared. |
|
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 |