| Electronic Components Datasheet Search |
|
HT66F25D Datasheet(PDF) 89 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F25D Datasheet(HTML) 89 Page - Holtek Semiconductor Inc |
|
89 / 177 page ![]() A/D Flash Type 8-bit MCU with EEPROM HT66F24D/HT66F25D Rev. 1.00 88 ���� ��� �01� Rev. 1.00 89 ���� ��� �01� ThesetwobitsareusedtodeterminehowtheTMoutputpinchangesstatewhena certainconditionisreached.Thefunctionthatthesebitsselectdependsuponinwhich modetheTMisrunning. IntheCompareMatchOutputMode,theT1IO1andT1IO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheT1OCbitintheTM1C1register.Notethattheoutput levelrequestedbytheT1IO1andT1IO0bitsmustbedifferentfromtheinitialvalue setupusingtheT1OCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheT1ONbitfromlowtohigh. InthePWMMode,theT1IO1andT1IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevalues oftheT1IO1andT1IO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheT1IO1andT1IO0bitsarechangedwhentheTMis running Bit3 T1OC:TP1_0,TP1_1,TP1_2outputcontrolbit CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMMode/SinglePulseOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMMode/ SinglePulseOutputMode.IthasnoeffectiftheTMisintheTimer/CounterMode.In theCompareMatchOutputModeitdeterminesthelogicleveloftheTMoutputpin beforeacomparematchoccurs.InthePWMModeitdeterminesifthePWMsignalis activehighoractivelow. Bit2 T1POL:TP1_0,TP1_1,TP1_2outputPolaritycontrol 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheTP1_0,TP1_1orTP1_2outputpin.Whenthebit issethightheTMoutputpinwillbeinvertedandnotinvertedwhenthebitiszero.It hasnoeffectiftheTMisintheTimer/CounterMode. Bit1 T1DPX:TM1PWMperiod/dutyControl 0:CCRP–period;CCRA–duty 1:CCRP–duty;CCRA–period Thisbit,determineswhichoftheCCRAandCCRPregistersareusedforperiodand dutycontrolofthePWMwaveform. Bit0 T1CCLR:SelectTM1Counterclearcondition 0:TM1ComparatorPmatch 1:TM1ComparatorAmatch Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe StandardTMcontainstwocomparators,ComparatorAandComparatorP,eitherof whichcanbeselectedtocleartheinternalcounter.WiththeT1CCLRbitsethigh, thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA. Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom theComparatorPorwithacounteroverflow.Acounteroverflowclearingmethodcan onlybeimplementediftheCCRPbitsareallclearedtozero.TheT1CCLRbitisnot usedinthePWMMode,SinglePulseorInputCaptureMode. |
|
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 |