| Electronic Components Datasheet Search |
|
HT67F370 Datasheet(PDF) 103 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT67F370 Datasheet(HTML) 103 Page - Holtek Semiconductor Inc |
|
103 / 225 page ![]() Rev. 1.00 10� �an�a�� 0�� �01� Rev. 1.00 103 �an�a�� 0�� �01� HT67F370 TinyPowerTM A/D Flash MCU with LCD & EEPROM HT67F370 TinyPowerTM A/D Flash MCU with LCD & EEPROM STMRP Register Bit 7 6 5 4 3 2 1 0 Name D� D� D5 D4 D3 D� D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 0 0 0 0 0 0 0 0 Bit7~0 D7~D0:STMCCRP8-bitregister,comparedwiththeSTMcounterbit15~bit8 ComparatorPMatchPeriod= 0:65536STMclocks 1~255:(1~255)×256STMclocks TheseeightbitsareusedtosetupthevalueontheinternalCCRP8-bitregister,which arethencomparedwiththeinternalcounter’shighesteightbits.Theresultofthis comparisoncanbeselectedtocleartheinternalcounteriftheSTCCLRbitissetto zero.SettingtheSTCCLRbittozeroensuresthatacomparematchwiththeCCRP valueswillresettheinternalcounter.AstheCCRPbitsareonlycomparedwiththe highesteightcounterbits,thecomparevaluesexistin256clockcyclemultiples. Clearingalleightbitstozeroisineffectallowingthecountertooverflowatits maximumvalue. Standard Type TM Operation Modes TheStandardTypeTMcanoperateinoneoffiveoperatingmodes,CompareMatchOutputMode, PWMOutputMode,SinglePulseOutputMode,CaptureInputModeorTimer/CounterMode.The operatingmodeisselectedusingtheSTM1andSTM0bitsintheSTMC1register. Compare Match Output Mode Toselectthismode,bitsSTM1andSTM0intheSTMC1register,shouldbesetto00respectively. Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythreemethods.Theseare acounteroverflow,acomparematchfromComparatorAandacomparematchfromComparatorP. WhentheSTCCLRbitislow,therearetwowaysinwhichthecountercanbecleared.Oneiswhen acomparematchfromComparatorP,theotheriswhentheCCRPbitsareallzerowhichallowsthe countertooverflow.HerebothSTMAFandSTMPFinterruptrequestflagsforComparatorAand ComparatorPrespectively,willbothbegenerated. IftheSTCCLRbitintheSTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheSTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen STCCLRishighnoSTMPFinterruptrequestflagwillbegenerated.IntheCompareMatchOutput Mode,theCCRAcannotbesetto"0". IftheCCRAbitsareallzero,thecounterwilloverflowwhenitreachesitsmaximum16-bit,FFFF Hex,value,howeverheretheSTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theSTMoutputpin,willchange state.TheSTMoutputpinconditionhoweveronlychangesstatewhenaSTMAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.TheSTMPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheSTM outputpin.ThewayinwhichtheSTMoutputpinchangesstatearedeterminedbytheconditionof theSTIO1andSTIO0bitsintheSTMC1register.TheSTMoutputpincanbeselectedusingthe STIO1andSTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionoftheSTMoutputpin,whichissetupafter theSTONbitchangesfromlowtohigh,issetupusingtheSTOCbit.NotethatiftheSTIO1and STIO0bitsarezerothennopinchangewilltakeplace. |
|
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 |