| 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) 141 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM2C bảng dữ liệu(HTML) 141 Page - Holtek Semiconductor Inc |
|
141 / 171 page ![]() Rev. 1.10 140 �a� �0� �01� Rev. 1.10 141 �a� �0� �01� HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU HT45FM2C Brushless DC Motor Flash Type 8-Bit MCU Preliminar� subroutinecalltooneoftheMulti-functioninterruptvectorswilltakeplace.Whentheinterruptis serviced,therelatedMulti-Functionrequestflag,willbeautomaticallyresetandtheEMIbitwillbe automaticallyclearedtodisableotherinterrupts. However,itmustbenotedthat,althoughtheMulti-functionInterruptflagswillbeautomatically resetwhentheinterruptisserviced,therequestflagsfromtheoriginalsourceoftheMulti-function interrupts,namelytheHallSensorinterrupts,A/Dinterrupts,PWMModuleinterrupts,CAPTM Interrupts,TMInterrupts,RMTInterrupts,EEPROMandLVDInterruptwillnotbeautomatically resetandmustbemanuallyresetbytheapplicationprogram. A/D Converter Interrupt TheA/DConverterhastwointerrupts.AllofthemarecontainedinMulti-functioninterrupt.The oneiscontrolledbytheterminationofanA/Dconversionprocess.AnA/DConverterinterrupt requestwilltakeplacewhentheA/DConverterInterruptrequestflag,ALIMF,isset,whichoccurs whentheA/Dconversionprocessfinishes.TheotheriscontrolledbytheADCHVE/ADCLVEbitin theADCR1registerandthevalueintheADLVDH/ADLVDLandADHVDH/ADHVDLboundary controlregisters.AnA/DConverterInterruptrequestwilltakeplaceafterEOCcomparing.Toallow theprogramtobranchtoitsrespectiveinterruptvectoraddress,theglobalinterruptenablebit,EMI, andA/DInterruptenablebit,AEOCEorALIME,mustfirstbeset.Whentheinterruptisenabled, thestackisnotfullandtheA/DconversionprocesshasendedorafterEOCcomparingasubroutine calltotheA/DConverterInterruptvector,willtakeplace.Whentheinterruptisserviced,theA/D ConverterInterruptflag,AEOCForALIMF,willbeautomaticallycleared.TheEMIbitwillalsobe automaticallyclearedtodisableotherinterrupts. Fault Interrupt FaultpinisMotorControldisablepin,itsupportslowactiveleveltriggerinterrupt.Whenthis happens,itsinterruptrequestflag,FLTFwillbeset.Toallowtheprogramtobranchtoitsinterrupt vectoraddress,theglobalinterruptenablebit,EMIandenablebit,FLTE,mustfirstbeset.When theinterruptisenabled,thestackisnotfullandalowactivelevelappearsonthepin,asubroutine calltothisvectorlocationwilltakeplace.Whentheinterruptisserviced,theinterruptrequestflag, FLTF,willbeautomaticallyresetandtheEMIbitwillbeclearedtodisableotherinterrupts. Pause Interrupt PausepinisMotorControlenablepin,itsupportrising/falling/bothtriggerinterrupt.Whenthis happens,itsinterruptrequestflag,PAUFwillbeset.Toallowtheprogramtobranchtoitsinterrupt vectoraddress,theglobalinterruptenablebit,EMIandthecorrespondingenablebit,PAUE,must firstbeset.Whentheinterruptisenabled,thestackisnotfullandarising/falling/bothedgetrigger appearsonthepin,asubroutinecalltothisvectorlocationwilltakeplace.Whentheinterruptis serviced,theinterruptrequestflag,PAUF,willbeautomaticallyresetandtheEMIbitwillbecleared todisableotherinterrupts. PWM Module Interrupts ThePWMModulehastwointerrups.ThetwoofthemarecontainedinMulti-functioninterrupt, whichisknownasPWMDandPWMP.TheyaretheDutyorthePeriodmachingofthePWM Module.AnPWMinterruptrequestwilltakeplacewhenthePWMinterruptrequestflag,PWMDF orPWMPF,isset,whichoccurswhenthePWMDutyorPWMPeriodmatches.Whentheinterrupt isenabled,thestackisnotfullandPWMDutyorPWMPeriodmaches,asubroutinecalltothis vectorlocationwilltakeplace.Whentheinterruptisserviced,theEMIbitwillbeautomatically clearedtodisableotherinterruptsandtherelatedMulti-Functionrequestflagwillbeautomatically |
|
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 |