| Electronic Components Datasheet Search |
|
HT68F003 Datasheet(PDF) 63 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F003 Datasheet(HTML) 63 Page - Holtek Semiconductor Inc |
|
63 / 119 page ![]() Rev. 1.41 62 April 11, 2017 Rev. 1.41 63 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM IntheCompareMatchOutputMode,theST0IO1~ST0IO0bitsdeterminehowtheTM outputpinchangesstatewhenacomparematchoccursfromtheComparatorA.The TMoutputpincanbesetuptoswitchhigh,switchlowortotoggleitspresentstate whenacomparematchoccursfromtheComparatorA.WhentheST0IO1~ST0IO0 bitsarebothzero,thennochangewilltakeplaceontheoutput.Theinitialvalueof theTMoutputpinshouldbesetupusingtheST0OCbit.Notethattheoutputlevel requestedbytheST0IO1~ST0IO0bitsmustbedifferentfromtheinitialvaluesetup usingtheST0OCbitotherwisenochangewilloccurontheTMoutputpinwhena comparematchoccurs.AftertheTMoutputpinchangesstateitcanberesettoits initiallevelbychangingtheleveloftheST0ONbitfromlowtohigh. InthePWMMode,theST0IO1andST0IO0bitsdeterminehowtheTMoutputpin changesstatewhenacertaincomparematchconditionoccurs.ThePWMoutput functionismodifiedbychangingthesetwobits.Itisnecessarytochangethevaluesof theST0IO1andST0IO0bitsonlyaftertheTMhasbeenswitchedoff.Unpredictable PWMoutputswilloccuriftheST0IO1andST0IO0bitsarechangedwhentheTMis running. bit3 ST0OC:STM0Outputcontrolbit CompareMatchOutputMode 0:Initiallow 1:Initialhigh PWMoutputMode/SinglePulseOutputMode 0:Activelow 1:Activehigh ThisistheoutputcontrolbitfortheSTMoutputpin.Itsoperationdependsupon whetherSTMisbeingusedintheCompareMatchOutputModeorinthePWMoutput Mode/SinglePulseOutputMode.IthasnoeffectiftheSTMisintheTimer/Counter Mode.IntheCompareMatchOutputModeitdeterminesthelogicleveloftheSTM outputpinbeforeacomparematchoccurs.InthePWMoutputModeitdetermines ifthePWMsignalisactivehighoractivelow.IntheSinglePulseOutputModeit determinesthelogicleveloftheSTMoutputpinwhentheST0ONbitchangesfrom lowtohigh. bit2 ST0POL:STM0OutputpolarityControl 0:Non-invert 1:Invert ThisbitcontrolsthepolarityoftheSTM0outputpin.WhenthebitissethightheSTM outputpinwillbeinvertedandnotinvertedwhenthebitiszero.Ithasnoeffectifthe STMisintheTimer/CounterMode. bit1 ST0DPX:STM0PWMperiod/dutyControl 0:CCRP–period;CCRA–duty 1:CCRP–duty;CCRA–period Thisbit,determineswhichoftheCCRAandCCRPregistersareusedforperiodand dutycontrolofthePWMwaveform. bit0 ST0CCLR:SelectSTM0Counterclearcondition 0:STM0ComparatorPmatch 1:STM0ComparatorAmatch Thisbitisusedtoselectthemethodwhichclearsthecounter.Rememberthatthe StandardSTMcontainstwocomparators,ComparatorAandComparatorP,eitherof whichcanbeselectedtocleartheinternalcounter.WiththeST0CCLRbitsethigh, thecounterwillbeclearedwhenacomparematchoccursfromtheComparatorA. Whenthebitislow,thecounterwillbeclearedwhenacomparematchoccursfrom theComparatorPorwithacounteroverflow.Acounteroverflowclearingmethodcan onlybeimplementediftheCCRPbitsareallclearedtozero.TheST0CCLRbitisnot usedinthePWMoutputmode,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 |