Motore di ricerca datesheet componenti elettronici |
|
HT45R2K-C Scheda tecnica(PDF) 51 Page - Holtek Semiconductor Inc |
|
HT45R2K-C Scheda tecnica(HTML) 51 Page - Holtek Semiconductor Inc |
51 / 105 page Rev. 1.40 �0 �a��� 1�� �01� Rev. 1.40 �1 �a��� 1�� �01� HT45R2K-C/-B/-A Dual Slope 16K/8K/4K ASSP MCU for Body Fat Scale HT45R2K-C/-B/-A Dual Slope 16K/8K/4K ASSP MCU for Body Fat Scale Mode,thesecondistoensurethattheportcontrolregisterconfiguresthepinasaninput.Itshould benotedthatintheeventcountingmode,eveniftheisinthePowerDownMode,theTimer/Event CounterwillcontinuetorecordexternallychanginglogiceventsonthetimerinputTMRnpin.Asa resultwhenthetimeroverflowsitwillgenerateatimerinterruptandcorrespondingwake-upsource. Ex te rm al E v ent In cr em en t Ti me r Co nt ro ll er Ti me r+ 1T im er +2 Ti me r+ 3 Event Counter Mode Timing Chart (TnE=1) Pulse Width Measurement Mode Inthismode,theTimer/EventCountercanbeutilisedtomeasurethewidthofexternalpulses appliedtotheexternaltimerpin.Tooperateinthismode,theOperatingModeSelectbitpair,TnM1/ TnM0,intheTimerControlRegistermustbesettothecorrectvalueasshown. ControlRegisterOperatingModeSelectBitsforthePulseWidthCaptureMode Bit7 Bit6 1 1 Inthismodetheinternalclock,fSYS,fSYS/4,fLorfTCK,isusedastheinternalclockforthe8-bit Timer/EventCounterandthe16-bitTimer/EventCounter.However,theclocksource,fSYSand fSYS/4,forthe8-bittimerandthe16-bittimerarefurtherdividedbyaprescaler,thevalueofwhich isdeterminedbythePrescalerRateSelectbitsTnPSC2~TnPSC0,whicharebits2~0intheTimer ControlRegister.AftertheotherbitsintheTimerControlRegisterhavebeensetup,theenable bitTnON,whichisbit4oftheTimerControlRegister,canbesethightoenabletheTimer/Event Counter,howeveritwillnotactuallystartcountinguntilanactiveedgeisreceivedontheexternal timerpin. IftheActiveEdgeSelectbitTnE,whichisbit3oftheTimerControlRegister,islow,onceahigh tolowtransitionhasbeenreceivedontheexternaltimerpin,theTimer/EventCounterwillstart countinguntiltheexternaltimerpinreturnstoitsoriginalhighlevel.Atthispointtheenablebitwill beautomaticallyresettozeroandtheTimer/EventCounterwillstopcounting.IftheActiveEdge Selectbitishigh,theTimer/EventCounterwillbegincountingoncealowtohightransitionhas beenreceivedontheexternaltimerpinandstopcountingwhentheexternaltimerpinreturnstoits originallowlevel.Asbefore,theenablebitwillbeautomaticallyresettozeroandtheTimer/Event Counterwillstopcounting.ItisimportanttonotethatinthepulsewidthmeasurementMode,the enablebitisautomaticallyresettozerowhentheexternalcontrolsignalontheexternaltimerpin returnstoitsoriginallevel,whereasintheothertwomodestheenablebitcanonlyberesettozero underprogramcontrol.TheresidualvalueintheTimer/EventCounter,whichcannowbereadby theprogram,thereforerepresentsthelengthofthepulsereceivedontheTMRnpin.Astheenable bithasnowbeenreset,anyfurthertransitionsontheexternaltimerpinwillbeignored.Thetimer cannotbeginfurtherpulsewidthmeasurementuntiltheenablebitissethighagainbytheprogram. Inthisway,singleshotpulsemeasurementscanbeeasilymade. ItshouldbenotedthatinthismodetheTimer/EventCounteriscontrolledbylogicaltransitions ontheexternaltimerpinandnotbythelogiclevel.WhentheTimer/EventCounterisfulland overflows,aninterruptsignalisgeneratedandtheTimer/EventCounterwillreloadthevaluealready loadedintothepreloadregisterandcontinuecounting.Theinterruptcanbedisabledbyensuring thattheTimer/EventCounterInterruptEnablebitinthecorrespondingInterruptControlRegister,is resettozero. |
Codice articolo simile - HT45R2K-C_15 |
|
Descrizione simile - HT45R2K-C_15 |
|
|
Link URL |
Privacy Policy |
ALLDATASHEETIT.COM |
Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | scambio Link | Ricerca produttore 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 |