| Electronic Components Datasheet Search |
|
HT45F65 Datasheet(PDF) 131 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 Datasheet(HTML) 131 Page - Holtek Semiconductor Inc |
|
131 / 231 page ![]() Rev. 1.60 130 �ove��e� ��� �01� Rev. 1.60 131 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU PWM Output Mode Toselectthismode,bitsT1AM1,T1AM0andT1BM1,T1BM0intheTM1C1andTM1C2register shouldbesetto10respectivelyandalsothecorrespondingT1AIO1,T1AIO0andT1BIO1,T1BIO0 bitsshouldbesetto10respectively.ThePWMfunctionwithintheTMisusefulforapplications whichrequirefunctionssuchasmotorcontrol,heatingcontrol,illuminationcontroletc.By providingasignaloffixedfrequencybutofvaryingdutycycleontheTMoutputpin,asquarewave ACwaveformcanbegeneratedwithvaryingequivalentDCRMSvalues. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMmode,theT1CCLRbithasnoeffectasthePWM period.BothoftheCCRAandCCRPregistersareusedtogeneratethePWMwaveform,oneregister isusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,whiletheother oneisusedtocontrolthedutycycle.Whichregisterisusedtocontroleitherfrequencyordutycycle isdeterminedusingtheT1DPXbitintheTM1C1register.ThePWMwaveformfrequencyandduty cyclecanthereforebecontrolledbythevaluesintheCCRAandCCRPregisters. Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch occursfromeitherComparatorAorComparatorP.TheT1OCbitintheTM1C1registerisusedto selecttherequiredpolarityofthePWMwaveformwhilethetwoT1IO1andT1IO0bitsareusedto enablethePWMoutputortoforcetheTMoutputpintoafixedhighorlowlevel.TheT1POLbitis usedtoreversethepolarityofthePWMoutputwaveform. • ETM, PWM Mode, Edge - aligned Mode, T1CCLR=0 CCRP 001b 010b 011b 100b 101b 110b 111b 000b Pe�iod 1�8 ��6 38� �1� 6�0 768 896 10�� A Duty CCRA B Duty CCRB IffSYS=16MHz,TMclocksourceselectfSYS/4,CCRP=100b,CCRA=128andCCRB=256, TheTP1APWMoutputfrequency=(fSYS/4)/512=fSYS/2048=7.8125kHz,duty=128/512=25%. TheTP1B_nPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=7.8125kHz,duty=256/512=50%. IftheDutyvaluedefinedbyCCRAorCCRBregisterisequaltoorgreaterthanthePeriodvalue, thenthePWMoutputdutyis100%. • ETM, PWM Mode, Edge - aligned Mode, T1CCLR=1 CCRP 1 2 3 511 512 1021 1022 1023 Pe�iod 1 � 3 �11 �1� 10�1 10�� 10�3 B Duty CCRB • ETM, PWM Mode, Center - aligned Mode, T1CCLR=0 CCRP 001b 010b 011b 100b 101b 110b 111b 000b Pe�iod ��6 38� �1� 6�0 768 896 10�� �0�6 A Duty (CCRA×�)-1 B Duty (CCRB×�)-1 • ETM, PWM Mode, Center - aligned Mode, T1CCLR=1 CCRP 1 2 3 511 512 1021 1022 1023 Pe�iod � 3 �11 �1� 10�1 10�� 10�3 �0�6 B Duty (CCRB×�)-1 |
|
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 |