| Electronic Components Datasheet Search |
|
HT45F5R Datasheet(PDF) 85 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F5R Datasheet(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%. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |