| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT66F005 bảng dữ liệu(PDF) 87 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F005 bảng dữ liệu(HTML) 87 Page - Holtek Semiconductor Inc |
|
87 / 109 page ![]() Rev. 1.30 86 ���i� ��� �01� Rev. 1.30 8� ���i� ��� �01� HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM HT66F005/HT66F006 Cost-Effective A/D Flash MCU with EEPROM External Interrupt TheexternalinterruptiscontrolledbysignaltransitionsontheINTpin.Anexternalinterrupt requestwilltakeplacewhentheexternalinterruptrequestflag,INTF,isset,whichwilloccurwhen atransition,whosetypeischosenbytheedgeselectbits,appearsontheexternalinterruptpin.To allowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit, EMI,andrespectiveexternalinterruptenablebit,INTE,mustfirstbeset.Additionallythecorrect interruptedgetypemustbeselectedusingtheINTEGregistertoenabletheexternalinterrupt functionandtochoosethetriggeredgetype.Astheexternalinterruptpinispin-sharedwithanI/ Opin,itcanonlybeconfiguredasanexternalinterruptpinifitsexternalinterruptenablebitinthe correspondinginterruptregisterhasbeenset.Thepinmustalsobesetupasaninputbysettingthe correspondingbitintheportcontrolregister.Whentheinterruptisenabled,thestackisnotfull andthecorrecttransitiontypeappearsontheexternalinterruptpin,asubroutinecalltotheexternal interruptvector,willtakeplace.Whentheinterruptisserviced,theexternalinterruptrequestflags, INTF,willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableother interrupts.Notethatanypull-highresistorselectionontheexternalinterruptpinwillremainvalid evenifthepinisusedasanexternalinterruptinput. TheINTEGregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt. Achoiceofeitherrisingorfallingorbothedgetypescanbechosentotriggeranexternalinterrupt. NotethattheINTEGregistercanalsobeusedtodisabletheexternalinterruptfunction. Multi-function Interrupt WithinthesedevicestherearetwoMulti-functioninterrupts.Unliketheotherindependentinterrupts, theseinterruptshavenoindependentsource,butratherareformedfromotherexistinginterrupt sources,namelytheTMInterrupts. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flags,MFnFareset.TheMulti-functioninterruptflagswillbesetwhenanyoftheirincluded functionsgenerateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitherone oftheinterruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneof theMulti-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti- Functionrequestflag,willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto disableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagswillbeautomatically resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti-function interrupts,namelytheTMInterrupts,willnotbeautomaticallyresetandmustbemanuallyresetby theapplicationprogram. A/D Converter Interrupt ThedevicescontainanA/Dconverterwhichhasitsownindependentinterrupt.TheA/DConverter InterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/DConverterInterrupt requestwilltakeplacewhentheA/DConverterInterruptrequestflag,ADF,isset,whichoccurs whentheA/Dconversionprocessfinishes.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit,ADE,mustfirstbe set.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversionprocesshasended,a subroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whentheinterruptisserviced, theA/DConverterInterruptflag,ADF,willbeautomaticallycleared. TheEMIbitwillalsobeautomaticallyclearedtodisableotherinterrupts. |
|
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 |