| Electronic Components Datasheet Search |
|
HT83B60 Datasheet(PDF) 56 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 Datasheet(HTML) 56 Page - Holtek Semiconductor Inc |
|
56 / 84 page ![]() Rev. 1.00 56 De�e��e� 1�� �011 Rev. 1.00 57 De�e��e� 1�� �011 HT83B60 Voice Mask MCU HT83B60 Voice Mask MCU ForanI2Cinterrupttooccur,thecorrespondinginterruptenablebitESIIA/Bmustbefirstset.An actualI2CinterruptwillbeinitializedwhentheSIMA/Binterruptrequestflag,SIFA/B,isset,a situationthatwilloccurwhenamatchingI2Cslaveaddressisreceivedorfromthecompletionof anI2Cdatabytetransfer.Whentheinterruptisenabled,thestackisnotfullandaSIMA/Binterrupt occurs,asubroutinecalltotheSIMA/Binterruptvectoratlocation14H,willtakeplaceWhenan I2Cinterruptoccurs,theinterruptrequestflagSIFA/BwillberesetandtheEMIbitwillbeclearedto disableotherinterrupts. Programming Considerations Bydisablingtheinterruptenablebits,arequestedinterruptcanbepreventedfrombeingserviced, however,onceaninterruptrequestflagisset,itwillremaininthisconditionintheINTCorINTCH registeruntilthecorrespondinginterruptisservicedoruntiltherequestflagisclearedbyasoftware instruction. Itisrecommendedthatprogramsdonotusethe"CALLsubroutine"instructionwithintheinterrupt subroutine.Interruptsoftenoccurinanunpredictablemannerorneedtobeservicedimmediately insomeapplications.Ifonlyonestackisleftandtheinterruptisnotwellcontrolled,theoriginal controlsequencewillbedamagedoncea"CALLsubroutine"isexecutedintheinterruptsubroutine. AlloftheseinterruptshavethecapabilityofwakinguptheprocessorwheninthePowerDown Mode.OnlytheProgramCounterispushedontothestack.Ifthecontentsoftheregisteror statusregisterarealteredbytheinterruptserviceprogram,whichmaycorruptthedesiredcontrol sequence,thenthecontentsshouldbesavedinadvance. Reset and Initialisation Aresetfunctionisafundamentalpartofanymicrocontrollerensuringthatthedevicecanbeset tosomepredeterminedconditionirrespectiveofoutsideparameters.Themostimportantreset conditionisafterpowerisfirstappliedtothemicrocontroller.Inthiscase,internalcircuitrywill ensurethatthemicrocontroller,afterashortdelay,willbeinawelldefinedstateandreadyto executethefirstprograminstruction.Afterthispower-onreset,certainimportantinternalregisters willbesettodefinedstatesbeforetheprogramcommences.OneoftheseregistersistheProgram Counter,whichwillberesettozeroforcingthemicrocontrollertobeginprogramexecutionfromthe lowestProgramMemoryaddress. Inadditiontothepower-onreset,situationsmayarisewhereitisnecessarytoforcefullyapply aresetconditionwhenthemicrocontrollerisrunning.Oneexampleofthisiswhereafterpower hasbeenappliedandthemicrocontrollerisalreadyrunning,theRESlineisforcefullypulledlow. Insuchacase,knownasanormaloperationreset,someofthemicrocontrollerregistersremain unchangedallowingthemicrocontrollertoproceedwithnormaloperationaftertheresetlineis allowedtoreturnhigh.AnothertypeofresetiswhentheWatchdogTimeroverflowsandresetsthe microcontroller.Alltypesofresetoperationsresultindifferentregisterconditionsbeingsetup. |
|
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 |