| 数据搜索系统,热门电子元器件搜索 |
|
OPTION_REG 数据表(PDF) 135 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
OPTION_REG 数据表(HTML) 135 Page - Microchip Technology |
|
135 / 222 page ![]() 2013 Microchip Technology Inc. DS22331A-page 135 MCP19111 24.0 TIMER1 MODULE WITH GATE CONTROL The Timer1 module is a 16-bit timer with the following features: • 16-bit timer register pair (TMR1H:TMR1L) • Readable and Writable (both registers) • Selectable internal clock source • 2-bit prescaler • Interrupt on overflow Figure 24-1 is a block diagram of the Timer1 module. FIGURE 24-1: TIMER1 BLOCK DIAGRAM 24.1 Timer1 Operation The Timer1 module is a 16-bit incrementing timer which is accessed through the TMR1H:TMR1L register pair. Writes to TMR1H or TMR1L directly update the counter. The timer is incremented on every instruction cycle. Timer1 is enabled by configuring the TMR1ON bit in the T1CON register. Table 24-1 displays the Timer1 enable selections. 24.2 Clock Source Selection The TMR1CS bit of the T1CON register is used to select the clock source for Timer1. Table 24-1 displays the clock source selections. 24.2.1 INTERNAL CLOCK SOURCE The TMR1H:TMR1L register pair will increment on multiples of FOSC or FOSC/4 as determined by the Timer1 prescaler. As an example, when the FOSC internal clock source is selected, the Timer1 register value will increment by four counts every instruction clock cycle. TMR1H TMR1L TMR1CS T1CKPS<1:0> Prescaler 1, 2, 4, 8 1 0 2 Set flag bit TMR1IF on Overflow TMR1(1) TMR1ON Note 1: TMR1 register increments on rising edge. FOSC FOSC/4 TABLE 24-1: CLOCK SOURCE SELECTIONS TMR1CS Clock Source 1 8 MHz system Clock (FOSC) 0 2 MHz instruction clock (FOSC/4) |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |