欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC16F628-04/SS 参数 Datasheet PDF下载

PIC16F628-04/SS图片预览
型号: PIC16F628-04/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 基于闪存的8位CMOS微控制器 [FLASH-Based 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器
文件页数/大小: 160 页 / 1657 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC16F628-04/SS的Datasheet PDF文件第44页浏览型号PIC16F628-04/SS的Datasheet PDF文件第45页浏览型号PIC16F628-04/SS的Datasheet PDF文件第46页浏览型号PIC16F628-04/SS的Datasheet PDF文件第47页浏览型号PIC16F628-04/SS的Datasheet PDF文件第49页浏览型号PIC16F628-04/SS的Datasheet PDF文件第50页浏览型号PIC16F628-04/SS的Datasheet PDF文件第51页浏览型号PIC16F628-04/SS的Datasheet PDF文件第52页  
PIC16F62X  
The PSA and PS2:PS0 bits (OPTION<3:0>) determine  
the prescaler assignment and prescale ratio.  
6.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 6-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 exclusive 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.  
When assigned to the Timer0 module, all instructions  
writing to the TMR0 register (e.g., CLRF 1,  
MOVWF 1, BSF 1, x....etc.) will clear the pres-  
caler. When assigned to WDT, a CLRWDT instruction  
will clear the prescaler along with the Watchdog Timer.  
The prescaler is not readable or writable.  
FIGURE 6-6: BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER  
Data Bus  
8
CLKOUT (=Fosc/4)  
M
U
X
1
0
0
1
M
U
X
T0CKI  
pin  
SYNC  
2
Cycles  
TMR0 reg  
T0SE  
T0CS  
Set flag bit T0IF  
on Overflow  
PSA  
0
1
8-bit Prescaler  
M
U
X
Watchdog  
Timer  
8
8-to-1MUX  
PS0 - PS2  
PSA  
1
0
WDT Enable bit  
M U X  
PSA  
WDT  
Time-out  
Note: T0SE, T0CS, PSA, PS0-PS2 are bits in the OPTION register.  
DS40300B-page 48  
Preliminary  
1999 Microchip Technology Inc.  
 
 复制成功!