| Electronic Components Datasheet Search |
|
HT45F75 Datasheet(PDF) 156 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 Datasheet(HTML) 156 Page - Holtek Semiconductor Inc |
|
156 / 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 UART Interrupt TheUARTinterruptiscontainedwithintheMulti-functionInterrupt.SeveralindividualUART conditionscangenerateaUARTinterrupt.Whentheseconditionsexist,alowpulsewillbe generatedtogettheattentionofthemicrocontroller.Theseconditionsareatransmitterdataregister empty,transmitteridle,receiverdataavailable,receiveroverrun,addressdetectandanRXpin wake-up.Toallowtheprogramtobranchtotherespectiveinterruptvectoraddresses,theglobal interruptenablebit,EMI,multi-functionenablebit,MFnEandUARTinterruptenablebit,UIE, mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandanyoftheseconditionsare created,asubroutinecalltotherespectiveMulti-functionInterruptvector,willtakeplace.Whenthe interruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts,theMulti- functioninterruptrequestflagwillbealsoautomaticallycleared.However,theUSRregisterflags willbeclearedautomaticallywhencertainactionsaretakenbytheUART,thedetailsofwhichare givenintheUARTsection. EEPROM Interrupt TheEEPROMinterruptiscontainedwithintheMulti-functionInterrupt.AnEEPROMInterrupt requestwilltakeplacewhentheEEPROMInterruptrequestflag,DEF,isset,whichoccurs whenanEEPROMWritecycleends.Toallowtheprogramtobranchtoitsrespectiveinterrupt vectoraddress,theglobalinterruptenablebit,EMI,andEEPROMInterruptenablebit,DEE,and associatedMulti-functioninterruptenablebit,mustfirstbeset.Whentheinterruptisenabled,the stackisnotfullandanEEPROMWritecycleends,asubroutinecalltotherespectiveEEPROM Interruptvectorwilltakeplace.WhentheEEPROMInterruptisserviced,theEMIbitwillbe automaticallyclearedtodisableotherinterrupts,howeveronlytheMulti-functioninterruptrequest flagwillbealsoautomaticallycleared.AstheDEFflagwillnotbeautomaticallycleared,ithastobe clearedbytheapplicationprogram. LVD Interrupt TheLowVoltageDetectorInterruptiscontainedwithintheMulti-functionInterrupt.AnLVD InterruptrequestwilltakeplacewhentheLVDInterruptrequestflag,LVF,isset,whichoccurs whentheLowVoltageDetectorfunctiondetectsalowpowersupplyvoltage.Toallowtheprogram tobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,LowVoltage Interruptenablebit,LVE,andassociatedMulti-functioninterruptenablebit,mustfirstbeset.When theinterruptisenabled,thestackisnotfullandalowvoltageconditionoccurs,asubroutinecallto theMulti-functionInterruptvector,willtakeplace.WhentheLowVoltageInterruptisserviced,the EMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlytheMulti-function interruptrequestflagwillbealsoautomaticallycleared.AstheLVFflagwillnotbeautomatically cleared,ithastobeclearedbytheapplicationprogram. TM Interrupts TheCompactandPeriodicTypeTMshavetwointerrupts.AlloftheTMinterruptsarecontained withintheMulti-functionInterrupts.ForeachoftheCompactandPeriodicTypeTMstherearetwo interruptrequestflagsTnPFandTnAFandtwoenablebitsTnPEandTnAE.ATMinterruptrequest willtakeplacewhenanyoftheTMrequestflagsareset,asituationwhichoccurswhenaTM comparatorPorAmatchsituationhappens. Toallowtheprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenable bit,EMI,respectiveTMInterruptenablebit,andrelevantMulti-functionInterruptenablebit,MFnE, mustfirstbeset.Whentheinterruptisenabled,thestackisnotfullandaTMcomparatormatch situationoccurs,asubroutinecalltotherelevantMulti-functionInterruptvectorlocations,willtake place.WhentheTMinterruptisserviced,theEMIbitwillbeautomaticallyclearedtodisableother interrupts,howeveronlytherelatedMFnFflagwillbeautomaticallycleared.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 |