| Electronic Components Datasheet Search |
|
HT46R004 Datasheet(PDF) 38 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R004 Datasheet(HTML) 38 Page - Holtek Semiconductor Inc |
|
38 / 84 page ![]() Rev. 1.30 38 �an�a�� ��� �01� Rev. 1.30 3� �an�a�� ��� �01� HT46R004 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/ EventCounter0,thisinternalclocksourceisfirstdividedbyaprescaler,thedivisionratioofwhich isconditionedbytheTimerControlRegisterbitsT0PSC2~T0PSC0.Theinternalclocksourcecan bederivedfromthesystemclockfSYSorfromtheinstructionclockfSYS/4ortheinternallowspeed oscillatorLIRCforTimer/EventCounterselectedbytheclockselectionbitsWDTCLS1~WDTCLS0 intheregisterWDTLVRC. AnexternalclocksourceisusedwhentheTimer/EventCounterisintheeventcountingmode,the clocksourcebeingprovidedonanexternaltimerpinTMR.Dependingupontheconditionofthe T0EGbit,eachhightolow,orlowtohightransitionontheexternaltimerpinwillincrementthe counterbyone. Clock Source for Timer/PWM/WDT 8-bit Timer/Event Counter 0 Structure |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |