поискавой системы для электроныых деталей |
|
HT46R002 датащи(PDF) 61 Page - Holtek Semiconductor Inc |
|
HT46R002 датащи(HTML) 61 Page - Holtek Semiconductor Inc |
61 / 83 page Rev. 1.21 60 April 11, 2017 Rev. 1.21 61 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 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 theCTRL1controlregister.Thesetwobitscanalsodisabletheexternalinterruptfunction. INTES1 INTES0 Request Flag 0 0 External interrupt disable 0 1 Rising edge trigger 1 0 Falling edge trigger 1 1 Dual edge trigger Theexternalinterruptpinispin-sharedwiththeI/OpinPA2andcanonlybeusedasanexternal interruptpinifthecorrespondingexternalinterruptenablebitintheINTC0registerhasbeenset andtheedgetriggertypehasbeenselectedusingtheCTRL1register.Thepinmustalsobesetas aninputbysettingthecorrespondingPAC.2bitintheportcontrolregister.Whentheinterruptis enabled,thestackisnotfullandatransitionappearsontheexternalinterruptpin,asubroutine calltotheexternalinterruptvectoratlocation04H,willtakeplace.Whentheinterruptisserviced, theexternalinterruptrequestflag,INTF,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorconnectionsonthis pinwillremainvalidevenifthepinisusedasanexternalinterruptinput Timer/Event Counter Interrupt ForaTimer/EventCounterinterrupttooccur,theglobalinterruptenablebit,EMIandthe correspondingtimerinterruptenablebitT0Emustfirstbeset.AnactualTimer/EventCounter interruptwilltakeplacewhentheTimer/EventCounterrequestflagT0Fisset,asituationthatwill occurwhentherelevantTimer/EventCounteroverflows.Whentheinterruptisenabled,thestackis notfullandaTimer/EventCounteroverflowoccurs,asubroutinecalltotherelevanttimerinterrupt vector,willtakeplace.Whentheinterruptisserviced,thetimerinterruptrequestflagT0Fwillbe automaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. A/D Converter Interrupt ThedevicesincludeA/Dinterrupt.ForanA/Dinterrupttooccur,theglobalinterruptenablebit EMIandthecorrespondinginterruptenablebitADEmustbefirstset.AnactualA/Dinterruptwill takeplacewhentheA/DconverterrequestflagADFisset,asituationthatwilloccurwhenanA/D conversionprocesshascompleted.Whentheinterruptisenabled,thestackisnotfullandanA/D conversionprocessfinishesexecution,asubroutinecalltotherelevantA/Dinterruptvector,will takeplace.Whentheinterruptisserviced,theA/DinterruptrequestflagADFwillbeautomatically resetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts.Asthisinterrupt vectorlocationissharedwithotherinterrupts,tobeeffectiveitmustbeselectedviaconfiguration option. |
Аналогичный номер детали - HT46R002 |
|
Аналогичное описание - HT46R002 |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | обмен ссыками | поиск по производителю 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 |