поискавой системы для электроныых деталей |
|
HT45R4U датащи(PDF) 43 Page - Holtek Semiconductor Inc |
|
HT45R4U датащи(HTML) 43 Page - Holtek Semiconductor Inc |
43 / 105 page Rev. 1.10 4� �a��� 1�� �01� Rev. 1.10 43 �a��� 1�� �01� HT45R4U TinyPowerTM A/D Type e-Banking ASSP OTP MCU with LCD Configuring the Event Counter Mode Inthismode,anumberofexternallychanginglogicevents,occurringontheexternaltimerpin,can berecordedbytheTimer/EventCounter.Tooperateinthismode,theOperatingModeSelectbit pair,TnM1/TnM0,intheTimerControlRegistermustbesettothecorrectvalueasshown.Control RegisterOperatingModeSelectBitsfortheEventCounterMode Bit7 Bit6 0 1 Inthismode,theexternaltimerpin,isusedastheTimer/EventCounterclocksource,howeveritis notdividedbytheinternalprescaler.AftertheotherbitsintheTimerControlRegisterhavebeen setup,theenablebitTnON,whichisbit4oftheTimerControlRegister,canbesethightoenable theTimer/EventCountertorun.IftheActiveEdgeSelectbit,TnEG,whichisbit3oftheTimer ControlRegister,islow,theTimer/EventCounterwillincrementeachtimetheexternaltimerpin receivesalowtohightransition.IftheActiveEdgeSelectbitishigh,thecounterwillincrement eachtimetheexternaltimerpinreceivesahightolowtransition.Whenitisfullandoverflows,an interruptsignalisgeneratedandtheTimer/EventCounterwillreloadthevaluealreadyloadedinto thepreloadregisterandcontinuecounting.TheinterruptcanbedisabledbyensuringthattheTimer/ EventCounterInterruptEnablebitinthecorrespondingInterruptControlRegister,isresettozero. AstheexternaltimerpinissharedwithanI/Opin,toensurethatthepinisconfiguredtooperateas aneventcounterinputpin,twothingshavetohappen.ThefirstistoensurethattheOperatingMode SelectbitsintheTimerControlRegisterplacetheTimer/EventCounterintheEventCounting Mode,thesecondistoensurethattheportcontrolregisterconfiguresthepinasaninput.Itshould benotedthatintheeventcountingmode,evenifthemicrocontrollerisinthePowerDownMode, theTimer/EventCounterwillcontinuetorecordexternallychanginglogiceventsonthetimerinput pin.Asaresultwhenthetimeroverflowsitwillgenerateatimerinterruptandcorrespondingwake- upsource. Ti me r+ 2 Ex te rn al E ve nt In cr em en t Ti me r Co unt er Ti me r+ 3 Ti me r+ 1 Event Counter Mode Timing Chart Configuring the Pulse Width Measurement Mode Inthismode,theTimer/EventCountercanbeutilisedtomeasurethewidthofexternalpulses appliedtotheexternaltimerpin.Tooperateinthismode,theOperatingModeSelectbitpair,TnM1/ TnM0,intheTimerControlRegistermustbesettothecorrectvalueasshown.Cont�ol Registe� Ope�ating �ode Sele�t Bits fo� t�e Pulse Widt� �easu�ement �ode. Bit7 Bit6 1 1 Inthismodetheinternalclock,fSYS,isusedastheinternalclockforthe8-bitTimer/EventCounters. However,theclocksource,fSYS,forthe8-bittimerisfurtherdividedbyaprescaler,thevalueof whichisdeterminedbythePrescalerRateSelectbitsTnPSC2~TnPSC0,whicharebits2~0in theTimerControlRegister.AftertheotherbitsintheTimerControlRegisterhavebeensetup,the enablebitTnON,whichisbit4oftheTimerControlRegister,canbesethightoenabletheTimer/ EventCounter,howeveritwillnotactuallystartcountinguntilanactiveedgeisreceivedonthe externaltimerpin. |
Аналогичный номер детали - HT45R4U |
|
Аналогичное описание - HT45R4U |
|
|
ссылки URL |
Конфиденциальность |
ALLDATASHEETRU.COM |
Вашему бизинису помогли Аллдатащит? [ 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 |