| Electronic Components Datasheet Search |
|
HT67F488 Datasheet(PDF) 84 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F488 Datasheet(HTML) 84 Page - Holtek Semiconductor Inc |
|
84 / 171 page ![]() Rev. 1.60 84 �ove��e� ��� �016 HT67F488/HT67F489 TinyPowerTM A/D Flash MCU with LCD & EEPROM IntheCompareMatchOutputMode,theTnIO1andTnIO0bitsdeterminehowthe TMoutputpinchangesstatewhenacomparematchoccursfromtheComparatorA. TheTMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresent statewhenacomparematchoccursfromtheComparatorA.Whenthebitsareboth zero,thennochangewilltakeplaceontheoutput.TheinitialvalueoftheTMoutput pinshouldbesetupusingtheTnOCbitintheTMnC1register.Notethattheoutput levelrequestedbytheTnIO1andTnIO0bitsmustbedifferentfromtheinitialvalue setupusingtheTnOCbitotherwisenochangewilloccurontheTMoutputpinwhen acomparematchoccurs.AftertheTMoutputpinchangesstate,itcanberesettoits initiallevelbychangingtheleveloftheTnONbitfromlowtohigh. InthePWMOutputMode,theTnIO1andTnIO0bitsdeterminehowtheTMoutput pinchangesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytoonlychangethe valuesoftheTnIO1andTnIO0bitsonlyaftertheTMnhasbeenswitchedoff. UnpredictablePWMoutputswilloccuriftheTnIO1andTnIO0bitsarechangedwhen theTMisrunning. Bit3 TnOC:TPnOutputcontrolbit CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheTMoutputpin.Itsoperationdependsupon whetherTMisbeingusedintheCompareMatchOutputModeorinthePWMOutput Mode.IthasnoeffectiftheTMisintheTimer/CounterMode.IntheCompareMatch OutputModeitdeterminesthelogicleveloftheTMoutputpinbeforeacompare matchoccurs.InthePWMOutputModeitdeterminesifthePWMsignalisactive highoractivelow. Bit2 TnPOL:TPnOutputpolarityControl 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheTPnoutputpin.WhenthebitissethightheTM outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasnoeffectifthe TMisintheTimer/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 usedinthePWMOutputMode. |
|
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 |