| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45F4MA bảng dữ liệu(PDF) 120 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA bảng dữ liệu(HTML) 120 Page - Holtek Semiconductor Inc |
|
120 / 145 page ![]() Rev. 1.20 120 De�e��e� 1�� 201� Rev. 1.20 121 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash 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 |
| 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 |