| Electronic Components Datasheet Search |
|
HT82B42R Datasheet(PDF) 37 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT82B42R Datasheet(HTML) 37 Page - Holtek Semiconductor Inc |
|
37 / 86 page ![]() Rev. 1.00 36 October 27, 2011 Rev. 1.00 37 October 27, 2011 HT82B42R/HT82B42RE I/O MCU with USB Interface INTC1 Register Bit 7 6 5 4 3 2 1 0 Name ― ― ― SIF ― ― ― ESII R/W ― ― ― R/W ― ― ― R/W POR ― ― ― 0 ― ― ― 0 Bit7~5 Unimplemented,readas“0” Bit4 SIF:SPIinterruptrequestflag 0:inactive 1:active Bit3~1 Unimplemented,readas“0” Bit0 ESII:SPIinterruptenable 0:disable 1:enable Interrupt Operation WhenaUSBinterruptoccurs,aSPIinsterrupttakesplace,oroneoftheTimer/EventCounters overflow,iftheirappropriateinterruptenablebitisset,theProgramCounter,whichstoresthe addressofthenextinstructiontobeexecuted,willbetransferredontothestack.TheProgram Counterwillthenbeloadedwithanewaddresswhichwillbethevalueofthecorresponding interruptvector.Themicrocontrollerwillthenfetchitsnextinstructionfromthisinterruptvector. TheinstructionatthisvectorwillusuallybeaJMPstatementwhichwilljumptoanothersection ofprogramwhichisknownastheinterruptserviceroutine.Hereislocatedthecodetocontrolthe appropriateinterrupt.TheinterruptserviceroutinemustbeterminatedwithaRETIstatement,which retrievestheoriginalProgramCounteraddressfromthestackandallowsthemicrocontrollerto continuewithnormalexecutionatthepointwheretheinterruptoccurred. 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. Au to ma ti ca ll y Cl ear ed by I SR M anual ly S et o r Cl ear ed b y So ft wa re US B In te rr up t Re ques t Fl ag U SBF EM I P ri or it y In te rr up t Po llin g Hi gh Au to ma ti ca lly D is abl ed b y IS R Ca n be E nab le d M anua lly Ti me r/ Ev ent C oun te r 0 Ov er fl ow In te rr up t Re ques t Fl ag T 0F ET 0I Lo w Ti me r/ Ev ent C oun te r 1 Ov er fl ow In te rr up t Re ques t Fl ag T 1F ET 1I EU I SPI In te rr up t Re ques t F la g SI F ES II Interrupt Structure |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |