| Electronic Components Datasheet Search |
|
HT45F5R Datasheet(PDF) 117 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R Datasheet(HTML) 117 Page - Holtek Semiconductor Inc |
|
117 / 138 page ![]() Rev. 1.10 11� De�e��e� 1�� �01� Rev. 1.10 117 De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU LVD Interrupt AnLVDInterruptrequestwilltakeplacewhentheLVDInterruptrequestflag,LVF,isset,which occurswhentheLowVoltageDetectorfunctiondetectsalowpowersupplyvoltage.Toallowthe programtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,and LowVoltageInterruptenablebit,LVE,mustfirstbeset.Whentheinterruptisenabled,thestackis notfullandalowvoltageconditionoccurs,asubroutinecalltotheLVDInterruptvector,willtake place.WhentheLowVoltageInterruptisserviced,theEMIbitwillbeautomaticallyclearedto disableotherinterrupts,andtheLVDinterruptrequestflag,LVF,willbealsoautomaticallycleared. EEPROM Interrupt AnEEPROMInterruptrequestwilltakeplacewhentheEEPROMInterruptrequestflag,DEF,isset, whichoccurswhenanEEPROMWritecycleends.Toallowtheprogramtobranchtoitsrespective interruptvectoraddress,theglobalinterruptenablebit,EMI,andEEPROMInterruptenablebit, DEE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandanEEPROMWrite cycleends,asubroutinecalltotherespectiveEEPROMInterruptvector,willtakeplace.Whenthe EEPROMInterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts, andtheEEPROMinterruptrequestflag,DEF,willalsobeautomaticallycleared. Multi-function Interrupts WithinthisdevicethereareuptothreeMulti-functioninterrupts.Unliketheotherindependent interrupts,theseinterruptshavenoindependentsource,butratherareformedfromotherexisting interruptsources,namelytheTMInterrupts. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flags,MFnFareset.TheMulti-functioninterruptflagswillbesetwhenanyoftheirincluded functionsgenerateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitherone oftheinterruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneof theMulti-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti- FunctionrequestflagwillbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto disableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagswillbeautomatically resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti-function interrupts,namelytheTMInterruptswillnotbeautomaticallyresetandmustbemanuallyresetby theapplicationprogram. TM Interrupts TheStandardandPeriodicTMshavetwointerrupts,onecomesfromthecomparatorAmatch situationandtheothercomesfromthecomparatorPmatchsituation.AlloftheTMinterruptsare containedwithintheMulti-functionInterrupts.ForalloftheTMtypestherearetwointerruptrequest flagsandtwoenablecontrolbits.ATMinterruptrequestwilltakeplacewhenanyoftheTMrequest flagsareset,asituationwhichoccurswhenaTMcomparatorPorAmatchsituationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,respectiveTMInterruptenablebit,andrelevantMulti-functionInterruptenablebit,MFnE, mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaTMcomparatormatch situationoccurs,asubroutinecalltotherelevantMulti-functionInterruptvectorlocations,willtake place.WhentheTMinterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableother interrupts.However,onlytherelatedMFnFflagwillbeautomaticallycleared.AstheTMinterrupt requestflagswillnotbeautomaticallycleared,theyhavetobeclearedbytheapplicationprogram. |
|
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 |