Electronic Components Datasheet Search |
|
HT45R4U Datasheet(PDF) 64 Page - Holtek Semiconductor Inc |
|
HT45R4U Datasheet(HTML) 64 Page - Holtek Semiconductor Inc |
64 / 105 page Rev. 1.10 64 �a��� 1�� �01� Rev. 1.10 6� �a��� 1�� �01� HT45R4U TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD External Interrupt Foranexternalinterrupttooccur,theglobalinterruptenablebit,EMI,andexternalinterruptenable bits,INT0EandINT1E,mustfirstbeset.Additionallythecorrectinterruptedgetypemustbe selectedusingtheINTEDGEregistertoenabletheexternalinterruptfunctionandtochoosethe triggeredgetype.Anactualexternalinterruptwilltakeplacewhentheexternalinterruptrequest flag,INT0ForINT1F,isset,asituationthatwilloccurwhenatransition,whosetypeischosen bytheedgeselectbit,appearsontheINT0orINT1pin.Theexternalinterruptpinsarepin- sharedwiththeI/OpinsPA2andPA7andcanonlybeconfiguredasexternalinterruptpinsiftheir correspondingexternalinterruptenablebitintheINTC0registerhasbeenset.Thepinmustalso besetupasaninputbysettingthecorrespondingPAC.2andPAC.7bitsintheportcontrolregister. Whentheinterruptisenabled,thestackisnotfullandthecorrecttransitiontypeappearsonthe externalinterruptpin,asubroutinecalltotheexternalinterruptvectoratlocation04Hor08H,will takeplace.Whentheinterruptisserviced,theexternalinterruptrequestflags,INT0ForINT1F, willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisableotherinterrupts. Notethatanypull-highresistorselectionsonthispinwillremainvalidevenifthepinisusedasan externalinterruptinput. TheINTEDGEregisterisusedtoselectthetypeofactiveedgethatwilltriggertheexternalinterrupt. Achoiceofeitherrisingandfallingedgetypescanbechosenalongwithanoptiontoallowbothedge typestotriggeranexternalinterrupt.NotethattheINTEDGEregistercanalsobeusedtodisablethe externalinterruptfunction. F ilt er O n/ Of f C onf i gur at i on Op ti on IN TC 1 F ilt er IN TC 0 F ilt er Ex te rn al IN T. 0 Ex te rn al IN T. 1 MC U Theexternalinterruptpinsareconnectedtoaninternalfiltertoreducethepossibilityofunwanted externalinterruptsduetoadversenoiseorspikesontheexternalinterruptinputsignal.Asthis internalfiltercircuitwillconsumealimitedamountofpower,aconfigurationoptionisprovided toswitchoffthefilterfunction,anoptionwhichmaybebeneficialinpowersensitiveapplications, butinwhichtheintegrityoftheinputsignalishigh.Caremustbetakenwhenusingthefilteron/off configurationoptionasitwillbeappliednotonlytoboththeexternalinterruptpinsbutalsotothe Timer/EventCounterexternalinputpins.IndividualexternalinterruptorTimer/EventCounterpins cannotbeselectedtohaveafilteron/offfunction. Timer/Event Counter Interrupt ForaTimer/EventCounter0,Timer/EventCounter1orTimer/EventCounter2interrupttooccur, theglobalinterruptenablebit,EMI,andthecorrespondingtimerinterruptenablebit,TnE,must firstbeset.AnactualTimer/EventCounterinterruptwilltakeplacewhentheTimer/EventCounter requestflag,TnFisset,asituationthatwilloccurwhentheTimer/EventCounteroverflows. Whentheinterruptisenabled,thestackisnotfullandaTimer/EventCounteroverflowoccurs,a subroutinecalltothetimerinterruptvectoratlocation0CH,10Cor14H,willtakeplace.Whenthe interruptisserviced,thetimerinterruptrequestflag,TnF,willbeautomaticallyresetandtheEMIbit willbeautomaticallyclearedtodisableotherinterrupts. |
Similar Part No. - HT45R4U |
|
Similar Description - HT45R4U |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.NET |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | 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 |