| поискавой системы для электроныых деталей |
|
HT66F019 датащи(PDF) 69 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F019 датащи(HTML) 69 Page - Holtek Semiconductor Inc |
|
69 / 175 page ![]() Rev. 1.00 68 De�e��e� 01� �01� Rev. 1.00 69 De�e��e� 01� �01� HT66F019 A/D Flash MCU with EEPROM HT66F019 A/D Flash MCU with EEPROM • CTMRP Register Bit 7 6 5 4 3 2 1 0 Na�e CTRP� CTRP6 CTRP5 CTRP4 CTRP3 CTRP� CTRP1 CTRP0 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 CTRP7~CTRP0:CTMCCRP8-bitregister,comparedwiththeCTMCounterbit15~bit8 ComparatorPMatchPeriod= 0:65536CTMclocks 1~255:256×(1~255)CTMclocks TheseeightbitsareusedtosetupthevalueontheinternalCCRP8-bitregister,which arethencomparedwiththeinternalcounter’shighesteightbits.Theresultofthis comparisoncanbeselectedtocleartheinternalcounteriftheCTCCLRbitissetto zero.SettingtheCTCCLRbittozeroensuresthatacomparematchwiththeCCRP valueswillresettheinternalcounter.AstheCCRPbitsareonlycomparedwiththe highesteightcounterbits,thecomparevaluesexistin256clockcyclemultiples. Clearingalleightbitstozeroisineffectallowingthecountertooverflowatits maximumvalue. Compact Type TM Operating Modes TheCompactTypeTMcanoperateinoneofthreeoperatingmodes,CompareMatchOutputMode, PWMOutputModeorTimer/CounterMode.TheoperatingmodeisselectedusingtheCTM1and CTM0bitsintheCTMC1register. Compare Match Output Mode Toselectthismode,bitsCTM1andCTM0intheCTMC1register,shouldbesetto"00" respectively.Inthismodeoncethecounterisenabledandrunningitcanbeclearedbythree methods.Theseareacounteroverflow,acomparematchfromComparatorAandacomparematch fromComparatorP.WhentheCTCCLRbitislow,therearetwowaysinwhichthecountercanbe cleared.OneiswhenacomparematchoccursfromComparatorP,theotheriswhentheCCRPbits areallzerowhichallowsthecountertooverflow.HerebothCTMAFandCTMPFinterruptrequest flagsfortheComparatorAandComparatorPrespectively,willbothbegenerated. IftheCTCCLRbitintheCTMC1registerishighthenthecounterwillbeclearedwhenacompare matchoccursfromComparatorA.However,hereonlytheCTMAFinterruptrequestflagwillbe generatedevenifthevalueoftheCCRPbitsislessthanthatoftheCCRAregisters.Thereforewhen CTCCLRishighnoCTMPFinterruptrequestflagwillbegenerated.IftheCCRAbitsareallzero, thecounterwilloverflowwhenitsreachesitsmaximum16-bit,FFFFHex,value,howeverherethe CTMAFinterruptrequestflagwillnotbegenerated. Asthenameofthemodesuggests,afteracomparisonismade,theCTMoutputpinwillchange state.TheCTMoutputpinconditionhoweveronlychangesstatewhenaCTMAFinterruptrequest flagisgeneratedafteracomparematchoccursfromComparatorA.TheCTMPFinterruptrequest flag,generatedfromacomparematchoccursfromComparatorP,willhavenoeffectontheCTM outputpin.ThewayinwhichtheCTMoutputpinchangesstatearedeterminedbytheconditionof theCTIO1andCTIO0bitsintheCTMC1register.TheCTMoutputpincanbeselectedusingthe CTIO1andCTIO0bitstogohigh,togolowortotogglefromitspresentconditionwhenacompare matchoccursfromComparatorA.TheinitialconditionoftheCTMoutputpin,whichissetupafter theCTONbitchangesfromlowtohigh,issetupusingtheCTOCbit.NotethatiftheCTIO1and CTIO0bitsarezerothennopinchangewilltakeplace. |
|
ссылки 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 |