| Electronic Components Datasheet Search |
|
HT68F005 Datasheet(PDF) 76 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F005 Datasheet(HTML) 76 Page - Holtek Semiconductor Inc |
|
76 / 93 page ![]() Rev. 1.00 76 ��to�e� ��� �01� Rev. 1.00 77 ��to�e� ��� �01� HT68F005/HT68F006 Enhanced I/O Flash Type MCU HT68F005/HT68F006 Enhanced I/O Flash Type MCU EEPROM Interrupt AnEEPROMInterruptrequestwilltakeplacewhentheEEPROMInterruptrequestflag,DEF,isset, whichoccurswhenanEEPROMWritecycleends.Toallowtheprogramtobranchtoitsrespective interruptvectoraddress,theglobalinterruptenablebit,EMI,andEEPROMInterruptenablebit, DEE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandanEEPROMWrite cycleends,asubroutinecalltotherespectiveEEPROMInterruptvector,willtakeplace.Whenthe EEPROMInterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts, andtheEEPROMinterruptrequestflag,DEF,willbealsoautomaticallycleared. TM Interrupts TheCompactTypeTMshavetwointerruptseach.AlloftheTMinterruptsarecontainedwithinthe Multi-functionInterrupts.ForeachoftheCompactTypeTMstherearetwointerruptrequestflags TnPFandTnAFandtwoenablebitsTnPEandTnAE.ATMinterruptrequestwilltakeplacewhen anyoftheTMrequestflagsareset,asituationwhichoccurswhenaTMcomparatorPorAmatch situationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,respectiveTMInterruptenablebit,andrelevantMulti-functionInterruptenablebit,MFnE, mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaTMcomparatormatch situationoccurs,asubroutinecalltotherelevantMulti-functionInterruptvectorlocations,willtake place.WhentheTMinterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableother interrupts,howeveronlytherelatedMFnFflagwillbeautomaticallycleared.AstheTMinterrupt requestflagswillnotbeautomaticallycleared,theyhavetobeclearedbytheapplicationprogram. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlow tohighandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhoughthese devicesareintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchas externaledgetransitionsontheexternalinterruptpin,alowpowersupplyvoltageorcomparator inputchangemaycausetheirrespectiveinterruptflagtobesethighandconsequentlygenerate aninterrupt.Caremustthereforebetakenifspuriouswake-upsituationsaretobeavoided.Ifan interruptwake-upfunctionistobedisabledthenthecorrespondinginterruptrequestflagshouldbe sethighbeforethedevicesentertheSLEEPorIDLEMode.Theinterruptenablebitshavenoeffect ontheinterruptwake-upfunction. |
|
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 |