数据搜索系统,热门电子元器件搜索 |
|
HT46R0042 数据表(PDF) 59 Page - Holtek Semiconductor Inc |
|
HT46R0042 数据表(HTML) 59 Page - Holtek Semiconductor Inc |
59 / 83 page Rev. 1.00 58 ��to�e� ��� �01� Rev. 1.00 59 ��to�e� ��� �01� HT46R0042 Cost-Effective A/D 8-Bit OTP MCU HT46R0042 Cost-Effective A/D 8-Bit OTP MCU External Interrupt Foranexternalinterrupttooccur,theglobalinterruptenablebit,EMI,andexternalinterruptenable bit,INTE,mustfirstbeset.Anactualexternalinterruptwilltakeplacewhentheexternalinterrupt requestflag,INTFisset,asituationthatwilloccurwhenanedgetransitionappearsontheexternal INTline.Thetypeoftransitionthatwilltriggeranexternalinterrupt,whetherhightolow,lowto highorbothisdeterminedbytheINTES0andINTES1bits,whicharebits6and7respectivelyin theCTRL0controlregister.Thesetwobitscanalsodisabletheexternalinterruptfunction. INTES1 INTES0 Request Flag 0 0 Exte�nal inte��upt disa�le 0 1 Rising edge t�igge� 1 0 Falling edge t�igge� 1 1 Dual edge t�igge� Theexternalinterruptpinispin-sharedwiththeI/OpinPA0andcanonlybeusedasanexternal interruptpinifthecorrespondingexternalinterruptenablebitintheINTC0registerhasbeenset andtheedgetriggertypehasbeenselectedusingtheCTRL0register.Thepinmustalsobesetas aninputbysettingthecorrespondingPAC.0bitintheportcontrolregister.Whentheinterruptis enabled,thestackisnotfullandatransitionappearsontheexternalinterruptpin,asubroutine calltotheexternalinterruptvectoratlocation04H,willtakeplace.Whentheinterruptisserviced, theexternalinterruptrequestflag,INTF,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorconnectionsonthis pinwillremainvalidevenifthepinisusedasanexternalinterruptinput Timer/Event Counter Interrupt ForaTimer/EventCounterinterrupttooccur,theglobalinterruptenablebit,EMIandthe correspondingtimerinterruptenablebitTEmustfirstbeset.AnactualTimer/EventCounter interruptwilltakeplacewhentheTimer/EventCounterrequestflagTFisset,asituationthatwill occurwhentherelevantTimer/EventCounteroverflows.Whentheinterruptisenabled,thestackis notfullandaTimer/EventCounteroverflowoccurs,asubroutinecalltotherelevanttimerinterrupt vector,willtakeplace.Whentheinterruptisserviced,thetimerinterruptrequestflagTFwillbe automaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. A/D Converter Interrupt ThedeviceincludesA/Dinterrupt.ForanA/Dinterrupttooccur,theglobalinterruptenablebit EMIandthecorrespondinginterruptenablebitADEmustbefirstset.AnactualA/Dinterruptwill takeplacewhentheA/DconverterrequestflagADFisset,asituationthatwilloccurwhenanA/ Dconversionprocesshascompleted.Whentheinterruptisenabled,thestackisnotfullandanA/ Dconversionprocessfinishesexecution,asubroutinecalltotherelevantA/Dinterruptvector,will takeplace.Whentheinterruptisserviced,theA/DinterruptrequestflagADFwillbeautomatically resetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. Time Base Interrupt ForatimebaseinterrupttooccurtheglobalinterruptenablebitEMIandthecorrespondinginterrupt enablebitTBE,mustfirstbeset.AnactualTimeBaseinterruptwilltakeplacewhenthetime baserequestflagTBFisset,asituationthatwilloccurwhentheTimeBaseoverflows.Whenthe interruptisenabled,thestackisnotfullandatimebaseoverflowoccursasubroutinecalltotime basevectorwilltakeplace.Whentheinterruptisserviced,thetimebaseinterruptflag.TBFwillbe automaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. |
类似零件编号 - HT46R0042 |
|
类似说明 - HT46R0042 |
|
|
链接网址 |
隐私政策 |
ALLDATASHEETCN.COM |
ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 链接交换 | 制造商名单 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 |