| поискавой системы для электроныых деталей |
|
HT69F360 датащи(PDF) 123 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT69F360 датащи(HTML) 123 Page - Holtek Semiconductor Inc |
|
123 / 235 page ![]() Rev. 1.30 1�� �ove��e� 1�� �01� Rev. 1.30 1�3 �ove��e� 1�� �01� HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM HT69F340/HT69F350/HT69F360 TinyPowerTM I/O Flash MCU with LCD & EEPROM STMRP Register Bit 7 6 5 4 3 2 1 0 �a�e D7 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 STMRP:STMCCRPHighByteRegisterbit7~bit0 STMCCRP8-bitregister,comparedwiththeSTMCounterbit15~bit8. ComparatorPMatchPeriod 0:65536STMclocks 1~255:256×(1~255)STMclocks TheseeightbitsareusedtosetupthevalueontheinternalCCRP8-bitregister,which arethencomparedwiththeinternalcounter'shighesteightbits.Theresultofthis comparisoncanbeselectedtocleartheinternalcounteriftheSTCCLRbitissetto zero.SettingtheSTCCLRbittozeroensuresthatacomparematchwiththeCCRP valueswillresettheinternalcounter.AstheCCRPbitsareonlycomparedwiththe highesteightcounterbits,thecomparevaluesexistin256clockcyclemultiples. Clearingalleightbitstozeroisineffectallowingthecountertooverflowatits maximumvalue. Standard Type TM Operating 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”. Asthenameofthemodesuggests,afteracomparisonismade,theTMoutputpin,willchangestate. TheTMoutputpinconditionhoweveronlychangesstatewhenaSTMAFinterruptrequestflagis generatedafteracomparematchoccursfromComparatorA.TheSTMPFinterruptrequestflag, generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheTMoutput pin.ThewayinwhichtheTMoutputpinchangesstatearedeterminedbytheconditionofthe STIO1andSTIO0bitsintheSTMC1register.TheTMoutputpincanbeselectedusingtheSTIO1 andSTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacomparematch occursfromComparatorA.TheinitialconditionoftheTMoutputpin,whichissetupafterthe STONbitchangesfromlowtohigh,issetupusingtheSTOCbit.NotethatiftheSTIO1andSTIO0 bitsarezerothennopinchangewilltakeplace. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |