| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT45FM2C bảng dữ liệu(PDF) 144 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM2C bảng dữ liệu(HTML) 144 Page - Holtek Semiconductor Inc |
|
144 / 171 page ![]() Rev. 1.10 144 �a� �0� �01� Rev. 1.10 145 �a� �0� �01� HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU Preliminar� automaticallyclearedtodisableotherinterrupts,howeveronlytheMulti-functioninterruptrequest flagwillbealsoautomaticallycleared.AstheEPWFflagwillnotbeautomaticallycleared,ithasto beclearedbytheapplicationprogram. LVD Interrupt TheLowVoltageDetectorInterruptiscontainedwithintheMulti-functionInterrupt.AnLVD InterruptrequestwilltakeplacewhentheLVDInterruptrequestflag,LVDF,isset,whichoccurs whentheLowVoltageDetectorfunctiondetectsalowpowersupplyvoltage.Toallowtheprogram tobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI,LowVoltage Interruptenablebit,LVDE,andassociatedMulti-functioninterruptenablebit,mustfirstbeset. Whentheinterruptisenabled,thestackisnotfullandalowvoltageconditionoccurs,asubroutine calltotheMulti-functionInterruptvector,willtakeplace.WhentheLowVoltageInterruptis serviced,theEMIbitwillbeautomaticallyclearedtodisableotherinterrupts,howeveronlythe Multi-functioninterruptrequestflagwillbealsoautomaticallycleared.AstheLVDFflagwillnotbe automaticallycleared,ithastobeclearedbytheapplicationprogram. Interrupt Wake-up Function Eachoftheinterruptfunctionshasthecapabilityofwakingupthemicrocontrollerwheninthe SLEEPorIDLEMode.Awake-upisgeneratedwhenaninterruptrequestflagchangesfromlow tohighandisindependentofwhethertheinterruptisenabledornot.Therefore,eventhough thisdeviceareintheSLEEPorIDLEModeanditssystemoscillatorstopped,situationssuchas externaledgetransitionsontheexternalinterruptpins,alowpowersupplyvoltageorcomparator inputchangemaycausetheirrespectiveinterruptflagtobesethighandconsequentlygenerate aninterrupt.Caremustthereforebetakenifspuriouswake-upsituationsaretobeavoided.Ifan interruptwake-upfunctionistobedisabledthenthecorrespondinginterruptrequestflagshouldbe sethighbeforethedeviceenterstheSLEEPorIDLEMode.Theinterruptenablebitshavenoeffect ontheinterruptwake-upfunction. Programming Considerations Bydisablingtherelevantinterruptenablebits,arequestedinterruptcanbepreventedfrombeing serviced,however,onceaninterruptrequestflagisset,itwillremaininthisconditioninthe interruptregisteruntilthecorrespondinginterruptisservicedoruntiltherequestflagisclearedby theapplicationprogram. WhereacertaininterruptiscontainedwithinaMulti-functioninterrupt,thenwhentheinterrupt serviceroutineisexecuted,asonlytheMulti-functioninterruptrequestflags,HALLFand MF1F~MF8F,willbeautomaticallycleared,theindividualrequestflagforthefunctionneedstobe clearedbytheapplicationprogram. Itisrecommendedthatprogramsdonotusethe“CALL”instructionwithintheinterruptservice subroutine.Interruptsoftenoccurinanunpredictablemannerorneedtobeservicedimmediately. Ifonlyonestackisleftandtheinterruptisnotwellcontrolled,theoriginalcontrolsequencewillbe damagedonceaCALLsubroutineisexecutedintheinterruptsubroutine. EveryinterrupthasthecapabilityofwakingupthemicrocontrollerwhenitisintheSLEEPorIDLE Mode,thewakeupbeinggeneratedwhentheinterruptrequestflagchangesfromlowtohigh.Ifitis requiredtopreventacertaininterruptfromwakingupthemicrocontrollerthenitsrespectiverequest flagshouldbefirstsethighbeforeenterSLEEPorIDLEMode. AsonlytheProgramCounterispushedontothestack,thenwhentheinterruptisserviced,ifthe contentsoftheaccumulator,statusregisterorotherregistersarealteredbytheinterruptservice program,theircontentsshouldbesavedtothememoryatthebeginningoftheinterruptservice |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |