| Electronic Components Datasheet Search |
|
HT45F3W Datasheet(PDF) 131 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3W Datasheet(HTML) 131 Page - Holtek Semiconductor Inc |
|
131 / 167 page ![]() Rev. 1.50 130 De�e��e� 01� �01� Rev. 1.50 131 De�e��e� 01� �01� HT45F3W R-Type Blood Pressure Meter Flash MCU HT45F3W R-Type Blood Pressure Meter Flash MCU Charge Pump Interrupt ThechargepumpInterrupt,iscontainedwithintheMulti-functionInterrupt.Toallowtheprogram tobranchtotheirrespectiveinterruptvectoraddresses,theglobalinterruptenablebit,EMI,multi- functionenablebit,MFnEandchargepumpinterruptenablebit,CHPE,mustfirstbeset.Whenthe interruptisenabled,thestackisnotfullandtheinputvoltageofchargepumpisgreaterthan3.8V,a subroutinecalltotherespectiveMulti-functionInterruptvector,willtakeplace.Whentheinterrupt isserviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlythe Multi-functioninterruptrequestflagwillbealsoautomaticallycleared. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlowto highandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhoughthedevice isintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchasexternaledge transitionsontheexternalinterruptpins,alowpowersupplyvoltageorcomparatorinputchange maycausetheirrespectiveinterruptflagtobesethighandconsequentlygenerateaninterrupt.Care mustthereforebetakenifspuriouswake-upsituationsaretobeavoided.Ifaninterruptwake-up functionistobedisabledthenthecorrespondinginterruptrequestflagshouldbesethighbeforethe deviceenterstheSLEEPorIDLEMode.Theinterruptenablebitshavenoeffectontheinterrupt wake-upfunction. Programming Considerations Bydisablingtherelevantinterruptenablebits,arequestedinterruptcanbepreventedfrombeing serviced,however,onceaninterruptrequestflagisset,itwillremaininthisconditioninthe interruptregisteruntilthecorrespondinginterruptisservicedoruntiltherequestflagisclearedby theapplicationprogram. WhereacertaininterruptiscontainedwithinaMulti-functioninterrupt,thenwhentheinterrupt serviceroutineisexecuted,asonlytheMulti-functioninterruptrequestflags,MFnF,willbe automaticallycleared,theindividualrequestflagforthefunctionneedstobeclearedbythe applicationprogram. Itisrecommendedthatprogramsdonotusethe“CALL”instructionwithintheinterruptservice subroutine.Interruptsoftenoccurinanunpredictablemannerorneedtobeservicedimmediately. Ifonlyonestackisleftandtheinterruptisnotwellcontrolled,theoriginalcontrolsequencewillbe damagedonceaCALLsubroutineisexecutedintheinterruptsubroutine. EveryinterrupthasthecapabilityofwakingupthemicrocontrollerwhenitisinSLEEPorIDLE Mode,thewakeupbeinggeneratedwhentheinterruptrequestflagchangesfromlowtohigh.Ifitis requiredtopreventacertaininterruptfromwakingupthemicrocontrollerthenitsrespectiverequest flagshouldbefirstsethighbeforeenterSLEEPorIDLEMode. AsonlytheProgramCounterispushedontothestack,thenwhentheinterruptisserviced,ifthe contentsoftheaccumulator,statusregisterorotherregistersarealteredbytheinterruptservice program,theircontentsshouldbesavedtothememoryatthebeginningoftheinterruptservice routine. Toreturnfromaninterruptsubroutine,eitheraRETorRETIinstructionmaybeexecuted.TheRETI instructioninadditiontoexecutingareturntothemainprogramalsoautomaticallysetstheEMI bithightoallowfurtherinterrupts.TheRETinstructionhoweveronlyexecutesareturntothemain programleavingtheEMIbitinitspresentzerostateandthereforedisablingtheexecutionoffurther interrupts. |
|
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 |