Electronic Components Datasheet Search |
|
HT45R4U Datasheet(PDF) 60 Page - Holtek Semiconductor Inc |
|
HT45R4U Datasheet(HTML) 60 Page - Holtek Semiconductor Inc |
60 / 105 page Rev. 1.10 60 �a��� 1�� �01� Rev. 1.10 61 �a��� 1�� �01� HT45R4U TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD Interrupts Interruptsareanimportantpartofanymicrocontrollersystem.Whenanexternaleventoraninternal functionsuchasaTimer/EventCounteroranA/Dconverterrequiresmicrocontrollerattention, theircorrespondinginterruptwillenforceatemporarysuspensionofthemainprogramallowingthe microcontrollertodirectattentiontotheirrespectiveneeds.Thedevicecontainsseveralexternal interruptandinternalinterruptsfunctions.Theexternalinterruptsarecontrolledbytheactionof theexternalINT0andINT1pins,whiletheinternalinterruptsarecontrolledbytheTimer/Event Counteroverflows,theTimeBaseinterruptsandtheA/Dconverterinterrupt. Interrupt Operation ATimer/EventCounteroverflow,TimeBase,anendofA/Dconversionortheexternalinterrupt linebeingtriggeredwillallgenerateaninterruptrequestbysettingtheircorrespondingrequest flag.Whenthishappensandiftheirappropriateinterruptenablebitisset,theProgramCounter, whichstorestheaddressofthenextinstructiontobeexecuted,willbetransferredontothestack. TheProgramCounterwillthenbeloadedwithanewaddresswhichwillbethevalueofthe correspondinginterruptvector.Themicrocontrollerwillthenfetchitsnextinstructionfromthis interruptvector.TheinstructionatthisvectorwillusuallybeaJMPstatementwhichwilljumpto anothersectionofprogramwhichisknownastheinterruptserviceroutine.Hereislocatedthecode tocontroltheappropriateinterrupt.TheinterruptserviceroutinemustbeterminatedwithaRETI statement,whichretrievestheoriginalProgramCounteraddressfromthestackandallowsthe microcontrollertocontinuewithnormalexecutionatthepointwheretheinterruptoccurred. Thevariousinterruptenablebits,togetherwiththeirassociatedrequestflags,areshowninthe accompanyingdiagramwiththeirorderofpriority. Onceaninterruptsubroutineisserviced,alltheotherinterruptswillbeblocked,astheEMIbitwill beclearedautomatically.Thiswillpreventanyfurtherinterruptnestingfromoccurring.However, ifotherinterruptrequestsoccurduringthisinterval,althoughtheinterruptwillnotbeimmediately serviced,therequestflagwillstillberecorded.Ifaninterruptrequiresimmediateservicingwhilethe programisalreadyinanotherinterruptserviceroutine,theEMIbitshouldbesetafterenteringthe routine,toallowinterruptnesting.Ifthestackisfull,theinterruptrequestwillnotbeacknowledged, eveniftherelatedinterruptisenabled,untiltheStackPointerisdecremented.Ifimmediateservice isdesired,thestackmustbepreventedfrombecomingfull. |
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 |