| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 126 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 126 Page - Holtek Semiconductor Inc |
|
126 / 235 page ![]() Rev. 1.30 1�� �ove��e� 1�� �01� Rev. 1.30 1�7 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM Timer/Counter Mode Toselectthismode,bitsSTM1andSTM0intheSTMC1registershouldbesetto11respectively. TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutputMode generatingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModetheTMoutput pinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompareMatch OutputModecanbeusedtounderstanditsfunction.AstheTMoutputpinisnotusedinthismode, thepincanbeusedasanormalI/Opinorotherpin-sharedfunction. PWM Output Mode Toselectthismode,bitsSTM1andSTM0intheSTMC1registershouldbesetto10respectively andalsotheSTIO1andSTIO0bitsshouldbesetto10respectively.ThePWMfunctionwithin theTMisusefulforapplicationswhichrequirefunctionssuchasmotorcontrol,heatingcontrol, illuminationcontroletc.Byprovidingasignaloffixedfrequencybutofvaryingdutycycleonthe TMoutputpin,asquarewaveACwaveformcanbegeneratedwithvaryingequivalentDCRMS values. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMmode,theSTCCLRbithasnoeffectasthePWM period.BothoftheCCRAandCCRPregistersareusedtogeneratethePWMwaveform,oneregister isusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,whiletheother oneisusedtocontrolthedutycycle.Whichregisterisusedtocontroleitherfrequencyordutycycle isdeterminedusingtheSTDPXbitintheSTMC1register. ThePWMwaveformfrequencyanddutycyclecanthereforebecontrolledbythevaluesinthe CCRAandCCRPregisters.Aninterruptflag,oneforeachoftheCCRAandCCRP,willbe generatedwhenacomparematchoccursfromeitherComparatorAorComparatorP.TheSTOCbit IntheSTMC1registerisusedtoselecttherequiredpolarityofthePWMwaveformwhilethetwo STIO1andSTIO0bitsareusedtoenablethePWMoutputortoforcetheTMoutputpintoafixed highorlowlevel.TheSTPOLbitisusedtoreversethepolarityofthePWMoutputwaveform. • 16-bit STM, PWM Mode, Edge-aligned Mode, STDPX=0 CCRP 1~255 0 Pe�iod CCRP×�5� �553� Duty CCRA IffSYS=16MHz,TMclocksourceisfSYS/4,CCRP=2andCCRA=128, TheSTMPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=7.8125kHz,duty=128/512=25%. IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe PWMoutputdutyis100%. • 16-bit STM, PWM Mode, Edge-aligned Mode, STDPX=1 CCRP 1~255 0 Pe�iod CCRA Duty CCRP×�5� �553� ThePWMoutputperiodisdeterminedbytheCCRAregistervaluetogetherwiththeTMclock whilethePWMdutycycleisdefinedbythe(CCRP×256)exceptwhentheCCRPvalueisequalto0. |
|
ссылки 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 |