| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 94 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 94 Page - Holtek Semiconductor Inc |
|
94 / 114 page ![]() Rev. 1.10 94 De�e��e� 1�� �01� Rev. 1.10 95 De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU TM Interrupts TheTMhastwointerrupts.AlloftheTMinterruptsarecontainedwithintheMulti-function Interrupt.FortheTMtherearetwointerruptrequestflagSTMP0FandSTMA0Fandtwoenablebits STMP0EandSTMA0E.ATMinterruptrequestwilltakeplacewhenanyoftheTMrequestflags areset,asituationwhichoccurswhenaTMcomparatorPorcomparatorAmatchsituationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,andtherespectiveTMInterruptenablebit,andassociatedMulti-functioninterruptenable bit,MF0E,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaTMcomparator matchsituationoccurs,asubroutinecalltotherelevantTMInterruptvectorlocations,willtake place.WhentheTMinterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableother interrupts,howeveronlytherelatedMF0Fflagwillbeautomaticallycleared.AstheTMinterrupt requestflagswillnotbeautomaticallycleared,theyhavetobeclearedbytheapplicationprogram. OCVP Interrupt TheOCVPinterruptiscontrolledbythetwointernalcomparators.AnOCVPinterruptrequestwill takeplacewhentheOCVPinterruptrequestflag,OCVPF,isset,asituationthatwilloccurwhen thecomparatorsoutputchangesstate.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,theglobalinterruptenablebit,EMI,andOCVPinterruptenablebit,OCVPE,must firstbeset.Whentheinterruptisenabled,thestackisnotfullandthecomparatorinputgeneratesa comparatoroutputtransition,asubroutinecalltotheOCVPinterruptvector,willtakeplace.When theOCVPInterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts, andtheOCVPinterruptrequestflag,OCVPF,willalsobeautomaticallycleared. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlowto highandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhoughthedevice isintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchasexternaledge transitionsontheexternalinterruptpin,alowpowersupplyvoltageorcomparatorinputchangemay causetheirrespectiveinterruptflagtobesethighandconsequentlygenerateaninterrupt.Caremust thereforebetakenifspuriouswake-upsituationsaretobeavoided.Ifaninterruptwake-upfunction istobedisabledthenthecorrespondinginterruptrequestflagshouldbesethighbeforethedevice enterstheSLEEPorIDLEMode.Theinterruptenablebitshavenoeffectontheinterruptwake-up function. |
|
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 |