| Electronic Components Datasheet Search |
|
HT66F4530 Datasheet(PDF) 115 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F4530 Datasheet(HTML) 115 Page - Holtek Semiconductor Inc |
|
115 / 224 page ![]() Rev. 1.00 114 De�e��e� �1� �01� Rev. 1.00 115 De�e��e� �1� �01� HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers HT66F4530/HT66F4540/HT66F4550 A/D Flash MCU with Dual Operational Amplifiers 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 Output Mode, Edge-aligned Mode CCRP 1~1023 0 Pe�iod 1~10�3 10�4 Duty CCRA IffSYS=12MHz,PTMnclocksourceselectfSYS/4,CCRP=512andCCRA=128, ThePTMnPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=5.8594kHz,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 |