| Electronic Components Datasheet Search |
|
HT45F75 Datasheet(PDF) 157 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 Datasheet(HTML) 157 Page - Holtek Semiconductor Inc |
|
157 / 190 page ![]() Rev. 1.10 15� De�e��e� 1�� �01� Rev. 1.10 157 De�e��e� 1�� �01� HT45F75 Body Fat Scale Flash MCU HT45F75 Body Fat Scale Flash MCU Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlowto highandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhoughthedevice isintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchasexternaledge transitionsontheexternalinterruptpinsoralowpowersupplyvoltagemaycausetheirrespective interruptflagtobesethighandconsequentlygenerateaninterrupt.Caremustthereforebetakenif spuriouswake-upsituationsaretobeavoided.Ifaninterruptwake-upfunctionistobedisabledthen thecorrespondinginterruptrequestflagshouldbesethighbeforethedeviceenterstheSLEEPor IDLEMode.Theinterruptenablebitshavenoeffectontheinterruptwake-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. TheRETIinstructioninadditiontoexecutingareturntothemainprogramalsoautomaticallysets theEMIbithightoallowfurtherinterrupts.TheRETinstructionhoweveronlyexecutesareturnto themainprogramleavingtheEMIbitinitspresentzerostateandthereforedisablingtheexecution offurtherinterrupts. |
|
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 |