| 数据搜索系统,热门电子元器件搜索 |
|
PIC12LC671 数据表(PDF) 42 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC12LC671 数据表(HTML) 42 Page - Microchip Technology |
|
42 / 129 page ![]() PIC12C67X DS30561B-page 42 © 1999 Microchip Technology Inc. 7.3 Prescaler An 8-bit counter is available as a prescaler for the Timer0 module, or as a postscaler for the Watchdog Timer, respectively (Figure 7-6). For simplicity, this counter is being referred to as “prescaler” throughout this data sheet. Note that there is only one prescaler available which is mutually exclusively shared between the Timer0 module and the Watchdog Timer. Thus, a prescaler assignment for the Timer0 module means that there is no prescaler for the Watchdog Timer, and vice-versa. The PSA and PS<2:0> bits (OPTION<3:0>) determine the prescaler assignment and prescale ratio. When assigned to the Timer0 module, all instructions writing to the TMR0 register (i.e., CLRF 1, MOVWF 1, BSF 1,x ...., etc.) will clear the prescaler. When assigned to WDT, a CLRWDT instruction will clear the prescaler along with the Watchdog Timer. The pres- caler is not readable or writable. FIGURE 7-6: BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER GP2/T0CKI/ T0SE AN2/INT M U X CLKOUT (= FOSC/4) SYNC 2 Cycles TMR0 reg 8-bit Prescaler 8 - to - 1MUX M U X M U X Watchdog Timer PSA 0 1 0 1 WDT Time-out PS<2:0> 8 Note: T0CS, T0SE, PSA, PS<2:0> are (OPTION<5:0>). PSA WDT Enable bit M U X 0 1 0 1 Data Bus Set flag bit T0IF on Overflow 8 PSA T0CS |
|
链接网址 |
| 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 |