データシートサーチシステム |
|
HT48R068B データシート(PDF) 69 Page - Holtek Semiconductor Inc |
|
HT48R068B データシート(HTML) 69 Page - Holtek Semiconductor Inc |
69 / 118 page Rev. 1.30 68 �e���a�� 0�� �01� Rev. 1.30 69 �e���a�� 0�� �01� HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU HT48R068B/HT48R069B Enhanced I/O 8-Bit OTP MCU External Interrupt Foranexternalinterrupttooccur,theglobalinterruptenablebit,EMI,andexternalinterruptenable bit,INTE,mustfirstbeset.Anactualexternalinterruptwilltakeplacewhentheexternalinterrupt requestflag,INTF,isset,asituationthatwilloccurwhenanedgetransitionappearsontheexternal INTline.Thetypeoftransitionthatwilltriggeranexternalinterrupt,whetherhightolow,lowto highorbothisdeterminedbytheINTEG0andINTEG1bits,whicharebits6and7respectively,in theCTRL1controlregister.Thesetwobitscanalsodisabletheexternalinterruptfunction. INTEG1 INTEG0 Edge Trigger Type 0 0 Exte�nal inte���pt disa�le 0 1 Rising edge T�igge� 1 0 �alling edge T�igge� 1 1 Both edge T�igge� Theexternalinterruptpinispin-sharedwiththeI/OpinPA3andcanonlybeconfiguredasan externalinterruptpinifthecorrespondingexternalinterruptenablebitintheINTC0registerhas beensetandtheedgetriggertypehasbeenselectedusingtheCTRL1register.Thepinmustalso besetupasaninputbysettingthecorrespondingPAC.3bitintheportcontrolregister.Whenthe interruptisenabled,thestackisnotfullandanactivetransitionappearsontheexternalinterruptpin, asubroutinecalltotheexternalinterruptvectoratlocation04H,willtakeplace.Whentheinterrupt isserviced,theexternalinterruptrequestflag,EIF,willbeautomaticallyresetandtheEMIbitwill beautomaticallyclearedtodisableotherinterrupts.Notethatanypull-highresistorconnectionson thispinwillremainvalidevenifthepinisusedasanexternalinterruptinput. Timer/Event Counter Interrupt ForaTimer/EventCounterinterrupttooccur,theglobalinterruptenablebit,EMI,andthe correspondingtimerinterruptenablebit,TnE,mustfirstbeset.AnactualTimer/EventCounter interruptwilltakeplacewhentheTimer/EventCounterrequestflag,TnF,isset,asituationthatwill occurwhentherelevantTimer/EventCounteroverflows.Whentheinterruptisenabled,thestackis notfullandaTimer/EventCounternoverflowoccurs,asubroutinecalltotherelevanttimerinterrupt vector,willtakeplace.Whentheinterruptisserviced,thetimerinterruptrequestflag,TnF,willbe automaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. Multi-function Interrupt Unliketheotherindependentinterrupts,theMulti-functionInterrupthasnoindependentsource,but ratherisformedfromotherexistinginterruptsources,namelytheTime-baseInterrupt,SIMInterrupt andSPIAInterrupt.AMulti-functionInterruptrequestwilltakeplacewhentheMulti-function Interruptrequestflag,MFFisset.TheMulti-functionInterruptflagwillbesetwhenanyoftheir includedfunctionsgenerateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespective interruptvectoraddress,whentheMulti-functionInterruptisenabledandthestackisnotfull,and eitheroneoftheinterruptscontainedwithineachofMulti-functionInterruptoccurs,asubroutine calltotheMulti-functionInterruptvectorwilltakeplace.Whentheinterruptisserviced,theMulti- FunctionInterruptrequestflagwillbeautomaticallyresetandtheEMIbitwillbeautomatically clearedtodisableotherinterrupts.However,itmustbenotedthat,althoughtheMulti-function Interruptflagwillbeautomaticallyresetwhentheinterruptisserviced,therequestflagsfromthe originalsourceoftheMulti-functionInterrupt,namelytheTime-baseInterrupt,SIMInterrupt andSPIAInterruptwillnotbeautomaticallyresetandmustbemanuallyresetbytheapplication program.AfteraMulti-functionhasbeengenerated,theapplicationprogramcandeterminewhich interruptsourcehasoccurredbyinterrogatingtheinterruptrequestflags,SIF,SIMForTBFwithin theMFICregister. |
同様の部品番号 - HT48R068B_15 |
|
同様の説明 - HT48R068B_15 |
|
|
リンク URL |
プライバシーポリシー |
ALLDATASHEET.JP |
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 |