| Electronic Components Datasheet Search |
|
HT45F4MA Datasheet(PDF) 121 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4MA Datasheet(HTML) 121 Page - Holtek Semiconductor Inc |
|
121 / 145 page ![]() Rev. 1.20 120 De�e��e� 1�� 201� Rev. 1.20 121 De�e��e� 1�� 201� HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU HT45F4MA/HT45FH4MA/HT45FH4MA-1 Power Bank Flash MCU Multi-function Interrupt WithinthisdevicethereareuptothreeMulti-functioninterrupts.Unliketheotherindependent interrupts,theseinterruptshavenoindependentsource,butratherareformedfromotherexisting interruptsources,namelytheTMInterrupts,LVDinterruptandEEPROMInterrupt. AMulti-functioninterruptrequestwilltakeplacewhenanyoftheMulti-functioninterruptrequest flags,MF0F~MF2Fareset.TheMulti-functioninterruptflagswillbesetwhenanyoftheirincluded functionsgenerateaninterruptrequestflag.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,whentheMulti-functioninterruptisenabledandthestackisnotfull,andeitherone oftheinterruptscontainedwithineachofMulti-functioninterruptoccurs,asubroutinecalltooneof theMulti-functioninterruptvectorswilltakeplace.Whentheinterruptisserviced,therelatedMulti- Functionrequestflag,willbeautomaticallyresetandtheEMIbitwillbeautomaticallyclearedto disableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagswillbeautomatically resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti- functioninterrupts,namelytheTMInterrupts,LVDinterruptandEEPROMInterruptwillnotbe automaticallyresetandmustbemanuallyresetbytheapplicationprogram. A/D Converter Interrupt TheA/DConverterInterruptiscontrolledbytheterminationofanA/Dconversionprocess.AnA/ DConverterInterruptrequestwilltakeplacewhentheA/DConverterInterruptrequestflag,ADF, isset,whichoccurswhentheA/Dconversionprocessfinishes.Toallowtheprogramtobranchtoits respectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,andA/DInterruptenablebit, ADE,mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandtheA/Dconversion processhasended,asubroutinecalltotheA/DConverterInterruptvector,willtakeplace.Whenthe interruptisserviced,theA/DConverterInterruptflag,ADF,willbeautomaticallycleared.TheEMI bitwillalsobeautomaticallyclearedtodisableotherinterrupts. 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 |