| Electronic Components Datasheet Search |
|
HT68F003 Datasheet(PDF) 65 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F003 Datasheet(HTML) 65 Page - Holtek Semiconductor Inc |
|
65 / 119 page ![]() Rev. 1.41 64 April 11, 2017 Rev. 1.41 65 April 11, 2017 HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM HT68F002/HT68F0025/HT68F003 Cost-Effective Flash MCU with EEPROM Standard Type TM Operating Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheST0M1andST0M0bitsintheSTM0C1register. Compare Output Mode Toselectthismode,bitsST0M1andST0M0intheSTM0C1register,shouldbesetto00 respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhentheST0CCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchfromComparatorP,theotheriswhentheCCRPbitsareall zerowhichallowsthecountertooverflow.HerebothSTMA0FandSTMP0Finterruptrequestflags forComparatorAandComparatorPrespectively,willbothbegenerated. IftheST0CCLRbitintheSTM0C1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheSTMA0Finterruptrequestflagwill begeneratedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Therefore whenST0CCLRishighnoSTMP0Finterruptrequestflagwillbegenerated.IntheCompare MatchOutputMode,theCCRAcannotbesetto"0".IftheCCRAbitsareallzero,thecounterwill overflowwhenitsreachesitsmaximum10-bit,3FFHex,value,howeverheretheSTMA0Finterrupt requestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theSTMoutputpin,willchange state.TheSTMoutputpinconditionhoweveronlychangesstatewhenanSTMA0Finterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.TheSTMP0Finterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheSTM outputpin.ThewayinwhichtheSTMoutputpinchangesstatearedeterminedbytheconditionof theST0IO1andST0IO0bitsintheSTM0C1register.TheSTMoutputpincanbeselectedusing theST0IO1andST0IO0bitstogohigh,togolowortotogglefromitspresentconditionwhena comparematchoccursfromComparatorA.TheinitialconditionoftheSTMoutputpin,whichis setupaftertheST0ONbitchangesfromlowtohigh,issetupusingtheST0OCbit.Notethatifthe ST0IO1andST0IO0bitsarezerothennopinchangewilltakeplace. |
|
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 |