| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 136 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 136 Page - Holtek Semiconductor Inc |
|
136 / 235 page ![]() Rev. 1.30 13� �ove��e� 1�� �01� Rev. 1.30 137 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhen acertainconditionisreached.Thefunctionthatthesebitsselectdependsuponin whichmodetheTMisrunning.IntheCompareMatchOutputMode,thePTnIO1and PTnIO0bitsdeterminehowtheTMoutputpinchangesstatewhenacomparematch occursfromtheComparatorA.TheTMoutputpincanbesetuptoswitchhigh,switch lowortotoggleitspresentstatewhenacomparematchoccursfromtheComparatorA. Whenthebitsarebothzero,thennochangewilltakeplaceontheoutput.Theinitial valueoftheTMoutputpinshouldbesetupusingthePTnOCbitinthePTMnC1 register.NotethattheoutputlevelrequestedbythePTnIO1andPTnIO0bitsmustbe differentfromtheinitialvaluesetupusingthePTnOCbitotherwisenochangewill occurontheTMoutputpinwhenacomparematchoccurs.AftertheTMoutputpin changesstate,itcanberesettoitsinitiallevelbychangingthelevelofthePTnONbit fromlowtohigh. Bit3 PTnOC:PTPnOutputcontrolbit CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMMode/SinglePulseOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMMode/ SinglePulseOutputMode.IthasnoeffectiftheTMisintheTimer/CounterMode.In theCompareMatchOutputModeitdeterminesthelogicleveloftheTMoutputpin beforeacomparematchoccurs.InthePWMModeitdeterminesifthePWMsignalis activehighoractivelow. Bit2 PTnPOL:PTPnOutputpolaritycontrol 0:Non-invert 1:Invert ThisbitcontrolsthepolarityofthePTPnoutputpin.WhenthebitissethightheTM outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasnoeffectifthe TMisintheTimer/CounterMode. Bit1 PTnCKS:InputCapturetriggersourceselection 0:ExternalClocksourceofCaptureInputModecomesfromPTPn 1:ExternalClocksourceofCaptureInputModecomesfromPTCKn Bit0 PTnCCLR:SelectPTMnCounterclearcondition 0:PTMnComparatorPmatch 1:PTMnComparatorAmatch Thisbitisusedtoselectthemethodwhichclearsthecounter.RememberthattheP-type TMcontainstwocomparators,ComparatorAandComparatorP,eitherofwhichcan beselectedtocleartheinternalcounter.WiththePTnCCLRbitsethigh,thecounter willbeclearedwhenacomparematchoccursfromtheComparatorA.Whenthebitis low,thecounterwillbeclearedwhenacomparematchoccursfromtheComparator Porwithacounteroverflow.Acounteroverflowclearingmethodcanonlybe implementediftheCCRPbitsareallclearedtozero.ThePTnCCLRbitisnotusedin thePWM,SinglePulseorInputCaptureMode. |
|
ссылки 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 |