поискавой системы для электроныых деталей |
|
HT46R0042 датащи(PDF) 36 Page - Holtek Semiconductor Inc |
|
HT46R0042 датащи(HTML) 36 Page - Holtek Semiconductor Inc |
36 / 83 page Rev. 1.00 36 ��to�e� ��� �01� Rev. 1.00 3� ��to�e� ��� �01� HT46R0042 Cost-Effective A/D 8-Bit OTP MCU HT46R0042 Cost-Effective A/D 8-Bit OTP MCU Timer/Event Counter Theprovisionoftimerformanimportantpartofanymicrocontroller,givingthedesignerameansof carryingouttimerelatedfunctions.Thedevicecontainsfroman8-bitcount-uptimer.Asthetimer hasthreedifferentoperatingmodes,theycanbeconfiguredtooperateasageneraltimer,anexternal eventcounterorasapulsewidthcapturedevice.Theprovisionofaninternalprescalertotheclock circuitryongivesaddedrangetothetimer. TherearetwotypesofregistersrelatedtotheTimer/EventCounter.Thefirstistheregisterthat containstheactualvalueofthetimerandintowhichaninitialvaluecanbepreloaded.Readingfrom thisregisterretrievesthecontentsoftheTimer/EventCounter.Thesecondtypeofassociatedregister istheTimerControlRegisterwhichdefinesthetimeroptionsanddetermineshowthetimeristo beused.Thedevicecanhavethetimerclockconfiguredtocomefromtheinternalclocksource.In addition,thetimerclocksourcecanalsobeconfiguredtocomefromanexternaltimerpin. Configuring the Timer/Event Counter Input Clock Source TheTimer/EventCounterclocksourcecanoriginatefromvarioussources,aninternalclockoran externalpin.Theinternalclocksourceisusedwhenthetimerisinthetimermode.FortheTimer/ EventCounter,thisinternalclocksourceisfirstdividedbyaprescaler,thedivisionratioofwhich isconditionedbytheTimerControlRegisterbitsTPSC2~TPSC0.Theinternalclocksourcecan bederivedfromthesystemclockfSYSorfromtheinstructionclockfSYS/4ortheinternallowspeed oscillatorLIRCforTimer/EventCounterselectedbytheclockselectionbitsWDTCLS1~WDTCLS0 intheregisterWDTLVRC. AnexternalclocksourceisusedwhentheTimer/EventCounterisintheeventcountingmode,the clocksourcebeingprovidedonanexternaltimerpinTMR.Dependingupontheconditionofthe TEGbit,eachhightolow,orlowtohightransitionontheexternaltimerpinwillincrementthe counterbyone. f S f SYS f LI RC WD TC LS [1 :0 ] T PSC [ 2: 0] 8- St age Pr e sca le r WD T Ti me -o u t Pe ri od S f 1 * (2 & ~ 2 # ) (2 ~ 2 ! ) To T im er i nt er na l cl oc k (f TC K = f S ~ f S / 2 % ) 8- 1 MU X 7 f SYS /4 WD T Di vi de r 8- 1 MU X WS [ 2: 0] MU X f S / 2 & 7 PW M Ci rc u it ry 7 PW M Ti me B as e Co nt ro l Ti me B as e Ev ent In te rru pt P er io d S f 1 * TB SEL [1 :0 ] 8- 1 MU X Clock Source for Timer/PWM/WDT/Time Base TO N Pr el oad R eg is te r Up C oun te r Da ta B us PF D 2 ¸ TM R TE G M ode C on tr ol Ti me r In te rn al C lo ck (f TC K ) Ov er fl ow to In te rr up t TM 1, T M0 TO V 8-bit Timer/Event Counter Structure |
Аналогичный номер детали - HT46R0042 |
|
Аналогичное описание - HT46R0042 |
|
|
ссылки 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 |