| Electronic Components Datasheet Search |
|
HT49C50 Datasheet(PDF) 23 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49C50 Datasheet(HTML) 23 Page - Holtek Semiconductor Inc |
|
23 / 52 page ![]() HT49C50 23 August 18, 1999 further transient pulse. In this operation mode, the timer/event counter begins counting accord- ing not to the logic level but to the transient edges. In the case of counter overflows, the coun- ter is reloaded from the timer/event counter preload register and issues an interrupt request, as in the other two modes, i.e., event and timer modes. To enable the counting operation, the Timer ON bit (TON; bit 4 of TMR0C or TMR1C) should be set to 1. In the pulse width measurement mode, the TON is automatically cleared after the measurement cycle is completed. But in the other two modes, the TON can only be reset by instructions. The overflow of the timer/event counter 0/1 is one of the wake-up sources and can also be applied to a PFD (Programmable Frequency Divider) output at PA3 by mask op- tion. Only one PFD (PFD0 or PFD1) can be ap- plied to PA3 by mask option . No matter what the operation mode is, writinga0to ET0I or ET1I disables the related interrupt service. When the PFD function is selected, executing ²CLR [PA].3² instruction to enable PFD output and executing ²SET [PA].3² instruction to disable PFD output. In the case of timer/event counter OFF condition, writing data to the timer/event counter preload register also reloads that data to the TE S y st e m C l o ck TN 1 TN 0 TM R 1 TN 1 TN 0 TO N P u l s e W i dt h M eas ur e m ent M ode C ont r o l T i m e r / ev ent c ount er 1 P r el oa d R egi s t er T i m e r / ev ent c ount er 1 D a t a bus R e l oad O v er f l ow T o In te r r u p t Ma s k Op t i o n Se l e c t M U X TN 2 S y s t e m C l o c k /4 T i m e B as e O u t TM R 0 O v e r f l o w TQ PF D 1 PA3 D a t a C T R L Timer/event counter 1 Label (TMR0C) Bits Function ¾ 0~2 Unused bits, read as ²0² TE 3 To define the TMR0 active edge of timer/event counter (0=active on low to high; 1=active on high to low) TON 4 To enable/disable timer counting (0=disabled; 1=enabled) TN2 5 2 to 1 multiplexer control inputs to select the timer/event counter clock source (0=RTC outputs; 1= system clock or system clock/4) TN0 TN1 6 7 To define the operating mode (TN1, TN0) 01= Event count mode (External clock) 10= Timer mode (Internal clock) 11= Pulse Width measurement mode (External clock) 00= Unused TMR0C register |
|
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 |