| поискавой системы для электроныых деталей |
|
HT45F75 датащи(PDF) 93 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F75 датащи(HTML) 93 Page - Holtek Semiconductor Inc |
|
93 / 190 page ![]() Rev. 1.10 9� De�e��e� 1�� �01� Rev. 1.10 93 De�e��e� 1�� �01� HT45F75 Body Fat Scale Flash MCU HT45F75 Body Fat Scale Flash MCU Timer/Counter Mode Toselectthismode,bitsTnM1andTnM0inthePTMnC1registershouldallbesetto11 respectively.TheTimer/CounterModeoperatesinanidenticalwaytotheCompareMatchOutput Modegeneratingthesameinterruptflags.TheexceptionisthatintheTimer/CounterModethe TMoutputpinisnotused.ThereforetheabovedescriptionandTimingDiagramsfortheCompare MatchOutputModecanbeusedtounderstanditsfunction.AstheTMoutputpinisnotusedinthis mode,thepincanbeusedasanormalI/Opinorotherpin-sharedfunction. PWM Output Mode Toselectthismode,bitsTnM1andTnM0inthePTMnC1registershouldbesetto10respectively andalsotheTnIO1andTnIO0bitsshouldbesetto10respectively.ThePWMfunctionwithin theTMisusefulforapplicationswhichrequirefunctionssuchasmotorcontrol,heatingcontrol, illuminationcontroletc.Byprovidingasignaloffixedfrequencybutofvaryingdutycycleonthe TMoutputpin,asquarewaveACwaveformcanbegeneratedwithvaryingequivalentDCRMS values. AsboththeperiodanddutycycleofthePWMwaveformcanbecontrolled,thechoiceofgenerated waveformisextremelyflexible.InthePWMmode,theTnCCLRbithasnoeffectasthePWM period.BothoftheCCRPandCCRAregistersareusedtogeneratethePWMwaveform,oneregister isusedtocleartheinternalcounterandthuscontrolthePWMwaveformfrequency,whiletheother oneisusedtocontrolthedutycycle.ThePWMwaveformfrequencyanddutycyclecantherefore becontrolledbythevaluesintheCCRAandCCRPregisters. Aninterruptflag,oneforeachoftheCCRAandCCRP,willbegeneratedwhenacomparematch occursfromeitherComparatorAorComparatorP.TheTnOCbitinthePTMnC1registerisusedto selecttherequiredpolarityofthePWMwaveformwhilethetwoTnIO1andTnIO0bitsareusedto enablethePWMoutputortoforcetheTMoutputpintoafixedhighorlowlevel.TheTnPOLbitis usedtoreversethepolarityofthePWMoutputwaveform. • 10-bit PTM, PWM Mode CCRP 0 1~1023 Pe�iod 10�� 1~10�3 Duty CCRA IffSYS=16MHz,TMclocksourceselectfSYS/4,CCRP=100bandCCRA=128, ThePTMPWMoutputfrequency=(fSYS/4)/512=fSYS/2048=7.8125kHz,duty=128/512=25%, IftheDutyvaluedefinedbytheCCRAregisterisequaltoorgreaterthanthePeriodvalue,thenthe PWMoutputdutyis100%. |
|
ссылки 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 |