| Electronic Components Datasheet Search |
|
C8051F337 Datasheet(PDF) 204 Page - Silicon Laboratories |
|
|
|||||||||||||||||||||||||||||
C8051F337 Datasheet(HTML) 204 Page - Silicon Laboratories |
|
204 / 234 page ![]() C8051F336/7/8/9 204 Rev. 0.2 24.3.2. 8-bit Timers with Auto-Reload When T3SPLIT is set, Timer 3 operates as two 8-bit timers (TMR3H and TMR3L). Both 8-bit timers oper- ate in auto-reload mode as shown in Figure 24.8. TMR3RLL holds the reload value for TMR3L; TMR3RLH holds the reload value for TMR3H. The TR3 bit in TMR3CN handles the run control for TMR3H. TMR3L is always running when configured for 8-bit Mode. Each 8-bit timer may be configured to use SYSCLK, SYSCLK divided by 12, the external oscillator clock source divided by 8, or the internal Low-frequency Oscillator. The Timer 3 Clock Select bits (T3MH and T3ML in CKCON) select either SYSCLK or the clock defined by the Timer 3 External Clock Select bits (T3XCLK[1:0] in TMR3CN), as follows: The TF3H bit is set when TMR3H overflows from 0xFF to 0x00; the TF3L bit is set when TMR3L overflows from 0xFF to 0x00. When Timer 3 interrupts are enabled, an interrupt is generated each time TMR3H over- flows. If Timer 3 interrupts are enabled and TF3LEN (TMR3CN.5) is set, an interrupt is generated each time either TMR3L or TMR3H overflows. When TF3LEN is enabled, software must check the TF3H and TF3L flags to determine the source of the Timer 3 interrupt. The TF3H and TF3L interrupt flags are not cleared by hardware and must be manually cleared by software. SYSCLK TCLK 0 1 TR3 1 0 TMR3H TMR3RLH Reload Reload TCLK TMR3L TMR3RLL Interrupt T3SPLIT T3XCLK1 TF3CEN TF3LEN TF3L TF3H T3XCLK0 TR3 To ADC External Clock / 8 SYSCLK / 12 00 T3XCLK[1:0] 01 11 Internal LFO / 8 CKCON T 3 M H T 3 M L S C A 0 S C A 1 T 0 M T 2 M H T 2 M L T 1 M Figure 24.8. Timer 3 8-Bit Mode Block Diagram T3MH T3XCLK[1:0] TMR3H Clock Source T3ML T3XCLK[1:0] TMR3L Clock Source 0 00 SYSCLK / 12 0 00 SYSCLK / 12 0 01 External Clock / 8 0 01 External Clock / 8 0 10 Reserved 0 10 Reserved 0 11 Internal LFO 0 11 Internal LFO 1 X SYSCLK 1 X SYSCLK |
|
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 |