| 전자부품 데이터시트 검색엔진 |
|
HT45F5R 데이터시트(PDF) 85 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R 데이터시트(HTML) 85 Page - Holtek Semiconductor Inc |
|
85 / 138 page ![]() Rev. 1.10 84 De�e��e� 1�� �01� Rev. 1.10 85 De�e��e� 1�� �01� HT45F5R Charger ASSP Flash MCU HT45F5R Charger ASSP Flash MCU Timer/Counter Mode Toselectthismode,bitsPTnM1andPTnM0inthePTMnC1registershouldbesetto11 respectively.TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutput Modegeneratingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModethe TMoutputpinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompare MatchOutputModecanbeusedtounderstanditsfunction.AstheTMoutputpinisnotusedinthis mode,thepincanbeusedasanormalI/Opinorotherpin-sharedfunction. PWM Output Mode Toselectthismode,bitsPTnM1andPTnM0inthePTMnC1registershouldbesetto10 respectively.ThePWMfunctionwithinthePTMnisusefulforapplicationswhichrequirefunctions suchasmotorcontrol,heatingcontrol,illuminationcontroletc.Byprovidingasignaloffixed frequencybutofvaryingdutycycleonthePTMnoutputpin,asquarewaveACwaveformcanbe generatedwithvaryingequivalentDCRMSvalues. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMOutputMode,thePTnCCLRbithasnoeffectonthe PWMoperation.BothoftheCCRAandCCRPregistersareusedtogeneratethePWMwaveform, oneregisterisusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency, whiletheotheroneisusedtocontrolthedutycycle.ThePWMwaveformfrequencyanddutycycle canthereforebecontrolledbythevaluesintheCCRAandCCRPregisters. Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch occursfromeitherComparatorAorComparatorP.ThePTnOCbitinthePTMnC1registerisused toselecttherequiredpolarityofthePWMwaveformwhilethetwoPTnIO1andPTnIO0bitsare usedtoenablethePWMoutputortoforcethePTMnoutputpintoafixedhighorlowlevel.The PTnPOLbitisusedtoreversethepolarityofthePWMoutputwaveform. • 10-bit PTMn, PWM Mode, Edge-aligned Mode CCRP 1~1023 0 Pe�iod 1~10�� 10�4 Duty CCRA IffSYS=8MHz,PTMnclocksourceselectfSYS/4,CCRP=512andCCRA=128, ThePTMnPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=3.906kHz,duty=128/(2×256)=25%. IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe PWMoutputdutyis100%. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |