Moteur de recherche de fiches techniques de composants électroniques |
|
HT45R2K-C Fiches technique(PDF) 50 Page - Holtek Semiconductor Inc |
|
HT45R2K-C Fiches technique(HTML) 50 Page - Holtek Semiconductor Inc |
50 / 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 Timer Mode Inthismode,theTimer/EventCountercanbeutilisedtomeasurefixedtimeintervals,providing aninternalinterruptsignaleachtimetheTimer/EventCounteroverflows.Tooperateinthismode, theOperatingModeSelectbitpair,TnM1/TnM0,intheTimerControlRegistermustbesettothe correctvalueasshown. ControlRegisterOperatingModeSelectBitsfortheTimerMode Bit7 Bit6 1 0 Inthismodetheinternalclockisusedasthetimerclock.Thetimerinputclocksourceiseither fSYS,fSYS/4,fLorfTCK.However,thistimerclocksourceisfurtherdividedbyaprescaler,thevalueof whichisdeterminedbythebitsTnPSC2~TnPSC0intheTimerControlRegister.Thetimer-onbit, TnONmustbesethightoenablethetimertorun.Eachtimeaninternalclockhightolowtransition occurs,thetimerincrementsbyone;whenthetimerisfullandoverflows,aninterruptsignalis generatedandthetimerwillreloadthevaluealreadyloadedintothepreloadregisterandcontinue counting.Atimeroverflowconditionandcorrespondinginternalinterruptisoneofthewake-up sources,however,theinternalinterruptscanbedisabledbyensuringthattheETnIbitsoftheINTC0 andMFICregisterareresettozero. Pr e sca le r Ou t put In cr em en t Ti me r Co nt ro ll er Ti me r+ 1T im er +2 Ti me r+ N Ti me r+ N+ 1 Timer Mode Timing Chart Event Counter Mode Inthismode,anumberofexternallychanginglogicevents,occurringontheexternaltimerTMRn pin,canberecordedbytheTimer/EventCounter.Tooperateinthismode,theOperatingMode Selectbitpair,TnM1/TnM0,intheTimerControlRegistermustbesettothecorrectvalueas shown. ControlRegisterOperatingModeSelectBitsfortheEventCounterMode Bit7 Bit6 0 1 Inthismode,theexternaltimerTMRnpinisusedastheTimer/EventCounterclocksource, howeveritisnotdividedbytheinternalprescaler.AftertheotherbitsintheTimerControlRegister havebeensetup,theenablebitTnON,whichisbit4oftheTimerControlRegister,canbesethigh toenabletheTimer/EventCountertorun.IftheActiveEdgeSelectbit,TnE,whichisbit3ofthe TimerControlRegister,islow,theTimer/EventCounterwillincrementeachtimetheexternaltimer pinreceivesalowtohightransition.IftheTnEishigh,thecounterwillincrementeachtimethe externaltimerpinreceivesahightolowtransition.Whenitisfullandoverflows,aninterruptsignal isgeneratedandtheTimer/EventCounterwillreloadthevaluealreadyloadedintothepreload registerandcontinuecounting.TheinterruptcanbedisabledbyensuringthattheTimer/Event CounterInterruptEnablebitinthecorrespondingInterruptControlRegisterisresettozero. AstheexternaltimerpinissharedwithanI/Opin,toensurethatthepinisconfiguredtooperateas aneventcounterinputpin,twothingshavetohappen.ThefirstistoensurethattheOperatingMode SelectbitsintheTimerControlRegisterplacetheTimer/EventCounterintheEventCounting |
Numéro de pièce similaire - HT45R2K-C_15 |
|
Description similaire - HT45R2K-C_15 |
|
|
Lien URL |
Politique de confidentialité |
ALLDATASHEET.FR |
ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Echange de liens | Fabricants 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 |