| поискавой системы для электроныых деталей |
|
HT45F65 датащи(PDF) 97 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F65 датащи(HTML) 97 Page - Holtek Semiconductor Inc |
|
97 / 231 page ![]() Rev. 1.60 96 �ove��e� ��� �01� Rev. 1.60 97 �ove��e� ��� �01� HT45F65/HT45F66/HT45F67 Glucose Meter 8-Bit Flash MCU IntheCompareMatchOutputMode,theTnIO1andTnIO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheTnOCbitintheTMnC1register.Notethattheoutput levelrequestedbytheTnIO1andTnIO0bitsmustbedifferentfromtheinitialvalue setupusingtheTnOCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheTnONbitfromlowtohigh. InthePWMMode,theTnIO1andTnIO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheTnIO1andTnIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheTnIO1andTnIO0bitsarechangedwhen theTMisrunning. Bit3 TnOC:TPn_0,TPn_1Outputcontrolbit CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMMode. IthasnoeffectiftheTMisintheTimer/CounterMode.IntheCompareMatchOutput ModeitdeterminesthelogicleveloftheTMoutputpinbeforeacomparematch occurs.InthePWMModeitdeterminesifthePWMsignalisactivehighoractive low. Bit2 TnPOL:TPn_0,TPn_1OutputpolarityControl 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheTPn_0orTPn_1outputpin.Whenthebitisset hightheTMoutputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasno effectiftheTMisintheTimer/CounterMode. Bit1 TnDPX:TMnPWMperiod/dutyControl 0:CCRP-period;CCRA-duty 1:CCRP-duty;CCRA-period Thisbit,determineswhichoftheCCRAandCCRPregistersareusedforperiodand dutycontrolofthePWMwaveform. Bit0 TnCCLR:SelectTMnCounterclearcondition 0:TMnComparatrorPmatch 1:TMnComparatrorAmatch Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe CompactTMcontainstwocomparators,ComparatorAandComparatorP,eitherof whichcanbeselectedtocleartheinternalcounter.WiththeTnCCLRbitsethigh, thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA. Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom theComparatorPorwithacounteroverflow.Acounteroverflowclearingmethodcan onlybeimplementediftheCCRPbitsareallclearedtozero.TheTnCCLRbitisnot usedinthePWMMode. |
|
ссылки 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 |