| поискавой системы для электроныых деталей |
|
HT45F4M датащи(PDF) 80 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F4M датащи(HTML) 80 Page - Holtek Semiconductor Inc |
|
80 / 138 page ![]() Rev. 1.10 80 �an�a�� 1�� �01� Rev. 1.10 81 �an�a�� 1�� �01� HT45F4M Lithium Battery Backup Power ASSP MCU HT45F4M Lithium Battery Backup Power ASSP MCU Timer/Counter Mode Toselectthismode,bitsT1M1andT1M0intheTM1C1registershouldbesetto11respectively. TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutputMode generatingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModetheTMoutput pinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompareMatch OutputModecanbeusedtounderstanditsfunction.AstheTMoutputpinisnotusedinthismode, thepincanbeusedasanormalI/Opinorotherpin-sharedfunction. PWM Output Mode Toselectthismode,bitsT1M1andT1M0intheTM1C1registershouldbesetto10respectively andalsotheT1IO1andT1IO0bitsshouldbesetto10respectively.ThePWMfunctionwithin theTMisusefulforapplicationswhichrequirefunctionssuchasmotorcontrol,heatingcontrol, illuminationcontrol,etc.Byprovidingasignaloffixedfrequencybutofvaryingdutycycleonthe TMoutputpin,asquarewaveACwaveformcanbegeneratedwithvaryingequivalentDCRMS values. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMmode,theT1CCLRbithasnoeffectasthePWM period.BothoftheCCRPandCCRAregistersareusedtogeneratethePWMwaveform,oneregister isusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,whiletheother oneisusedtocontrolthedutycycle.ThePWMwaveformfrequencyanddutycyclecantherefore becontrolledbythevaluesintheCCRAandCCRPregisters. Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch occursfromeitherComparatorAorComparatorP.TheT1OCbitintheTM1C1registerisusedto selecttherequiredpolarityofthePWMwaveformwhilethetwoT1IO1andT1IO0bitsareusedto enablethePWMoutputortoforcetheTMoutputpintoafixedhighorlowlevel.TheT1POLbitis usedtoreversethepolarityofthePWMoutputwaveform. • 10-bit PTM, PWM Mode Period Duty CCRP CCRA IffSYS=7.5MHz,TMclocksourceselectfH,CCRP=100andCCRA=40, ThePTMPWMoutputfrequency=fH/100=300kHz,duty=40/100=40%. IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe PWMoutputdutyis100%. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |