| Electronic Components Datasheet Search |
|
HT66F4530 Datasheet(PDF) 190 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F4530 Datasheet(HTML) 190 Page - Holtek Semiconductor Inc |
|
190 / 224 page ![]() Rev. 1.00 190 De�e��e� �1� �01� Rev. 1.00 191 De�e��e� �1� �01� HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers External Interrupts TheexternalinterruptsarecontrolledbysignaltransitionsonthepinsINT0~INT1.Anexternal interruptrequestwilltakeplacewhentheexternalinterruptrequestflags,INT0F~INT1F,areset, whichwilloccurwhenatransition,whosetypeischosenbytheedgeselectbits,appearsonthe externalinterruptpins.Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress, theglobalinterruptenablebit,EMI,andrespectiveexternalinterruptenablebit,INT0E~INT1E, mustfirstbeset.AdditionallythecorrectinterruptedgetypemustbeselectedusingtheINTEG registertoenabletheexternalinterruptfunctionandtochoosethetriggeredgetype.Astheexternal interruptpinsarepin-sharedwithI/Opins,theycanonlybeconfiguredasexternalinterruptpinsif theirexternalinterruptenablebitinthecorrespondinginterruptregisterhasbeensetandtheexternal interruptpinisselectedbythecorrespondingpin-sharedfunctionselectionbits.Thepinmustalso besetupasaninputbysettingthecorrespondingbitintheportcontrolregister.Whentheinterrupt isenabled,thestackisnotfullandthecorrecttransitiontypeappearsontheexternalinterruptpin, asubroutinecalltotheexternalinterruptvector,willtakeplace.Whentheinterruptisserviced,the externalinterruptrequestflags,INT0F~INT1F,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorselectionsonthe externalinterruptpinswillremainvalidevenifthepinisusedasanexternalinterruptinput.The INTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt.A choiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. SD Comparator Interrupts TheSDcomparatorinterruptsarecontrolledbythetwointernalcomparators.AnSDcomparator interruptrequestwilltakeplacewhentheSDcomparatorinterruptrequestflag,SDCnF,isset,a situationthatwilloccurwhentheSDcomparatoroutputbitchangesstate.Toallowtheprogram tobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andSD comparatorinterruptenablebit,SDCnE,mustfirstbeset.Whentheinterruptisenabled,thestack isnotfullandtheSDcomparatorinputsgenerateacomparatoroutputtransition,asubroutine calltotheSDcomparatorinterruptvector,willtakeplace.Whentheinterruptisserviced,the SDcomparatorinterruptrequestflag,SDCnF,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts. A/D Converter Interrupt TheA/DConverterInterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/ DConverterInterruptrequestwilltakeplacewhentheA/DConverterInterruptrequestflag,ADF, isset,whichoccurswhentheA/Dconversionprocessfinishes.Toallowtheprogramtobranchtoits respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit, ADE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversion processhasended,asubroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whenthe interruptisserviced,theA/DConverterInterruptflag,ADF,willbeautomaticallycleared.TheEMI bitwillalsobeautomaticallyclearedtodisableotherinterrupts. |
|
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 |