| Electronic Components Datasheet Search |
|
HT45F5Q Datasheet(PDF) 92 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5Q Datasheet(HTML) 92 Page - Holtek Semiconductor Inc |
|
92 / 114 page ![]() Rev. 1.10 9� De�e��e� 1�� �01� Rev. 1.10 9� De�e��e� 1�� �01� HT45F5Q Charger Flash MCU HT45F5Q Charger Flash MCU Multi-function Interrupt WithinthisdevicethereisoneMulti-functioninterrupt.Unliketheotherindependentinterrupts, thisinterrupthasnoindependentsource,butratherareformedfromotherexistinginterruptsources, namelytheTMInterrupts. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flag,MF0Fareset.TheMulti-functioninterruptflagwillbesetwhenanyoftheirincludedfunctions generateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterruptvector address,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitheroneofthe interruptscontainedwithintheMulti-functioninterruptoccurs,asubroutinecalltooneoftheMulti- functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti-Function requestflag,willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedtodisable otherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagwillbeautomatically resetwhentheinterruptisserviced,therequestflagfromtheoriginalsourceoftheMulti-function interrupts,namelytheTMInterrupts,willnotbeautomaticallyresetandmustbemanuallyresetby theapplicationprogram. A/D Converter Interrupt ThedevicecontainsanA/Dconverterwhichhasitsownindependentinterrupt.TheA/DConverter InterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/DConverterInterrupt requestwilltakeplacewhentheA/DConverterInterruptrequestflag,ADF,isset,whichoccurs whentheA/Dconversionprocessfinishes.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit,ADE,mustfirstbe set.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversionprocesshasended,a subroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whentheinterruptisserviced, theA/DConverterInterruptflag,ADF,willbeautomaticallycleared.TheEMIbitwillalsobe automaticallyclearedtodisableotherinterrupts. Time Base Interrupts ThefunctionoftheTimeBaseInterruptsistoprovideregulartimesignalintheformofaninternal interrupt.Theyarecontrolledbytheoverflowsignalsfromtheirrespectivetimerfunctions.When thesehappenstheirrespectiveinterruptrequestflags,TB0ForTB1Fwillbeset.Toallowthe programtobranchtotheirrespectiveinterruptvectoraddresses,theglobalinterruptenablebit,EMI andTimeBaseenablebits,TB0EorTB1E,mustfirstbeset.Whentheinterruptisenabled,thestack isnotfullandtheTimeBaseoverflows,asubroutinecalltotheirrespectivevectorlocationswill takeplace.Whentheinterruptisserviced,therespectiveinterruptrequestflag,TB0ForTB1F,will beautomaticallyresetandtheEMIbitwillbeclearedtodisableotherinterrupts. ThepurposeoftheTimeBaseInterruptistoprovideaninterruptsignalatfixedtimeperiods.Their clocksourcesoriginatefromtheinternalclocksourcefTB.ThisfTBinputclockpassesthrougha divider,thedivisionratioofwhichisselectedbyprogrammingtheappropriatebitsintheTBC registertoobtainlongerinterruptperiodswhosevalueranges.TheclocksourcethatgeneratesfTB, whichinturncontrolstheTimeBaseinterruptperiod,canoriginatefromseveraldifferentsources, asshownintheSystemOperatingModesection. |
|
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 |