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

PIC12F615-I/SN 参数 Datasheet PDF下载

PIC12F615-I/SN图片预览
型号: PIC12F615-I/SN
PDF下载: 下载PDF文件 查看货源
内容描述: 8引脚基于闪存的8位CMOS微控制器 [8-Pin Flash-Based, 8-Bit CMOS Microcontrollers]
分类和应用: 闪存微控制器
文件页数/大小: 168 页 / 2608 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC12F615-I/SN的Datasheet PDF文件第39页浏览型号PIC12F615-I/SN的Datasheet PDF文件第40页浏览型号PIC12F615-I/SN的Datasheet PDF文件第41页浏览型号PIC12F615-I/SN的Datasheet PDF文件第42页浏览型号PIC12F615-I/SN的Datasheet PDF文件第44页浏览型号PIC12F615-I/SN的Datasheet PDF文件第45页浏览型号PIC12F615-I/SN的Datasheet PDF文件第46页浏览型号PIC12F615-I/SN的Datasheet PDF文件第47页  
PIC12F609/615/12HV609/615  
5.1  
Timer0 Operation  
5.0  
TIMER0 MODULE  
When used as a timer, the Timer0 module can be used  
as either an 8-bit timer or an 8-bit counter.  
The Timer0 module is an 8-bit timer/counter with the  
following features:  
• 8-bit timer/counter register (TMR0)  
5.1.1  
8-BIT TIMER MODE  
• 8-bit prescaler (shared with Watchdog Timer)  
• Programmable internal or external clock source  
• Programmable external clock edge selection  
• Interrupt on overflow  
When used as a timer, the Timer0 module will  
increment every instruction cycle (without prescaler).  
Timer mode is selected by clearing the T0CS bit of the  
OPTION register to ‘0’.  
Figure 5-1 is a block diagram of the Timer0 module.  
When TMR0 is written, the increment is inhibited for  
two instruction cycles immediately following the write.  
Note:  
The value written to the TMR0 register can  
be adjusted, in order to account for the two  
instruction cycle delay when TMR0 is  
written.  
5.1.2  
8-BIT COUNTER MODE  
When used as a counter, the Timer0 module will  
increment on every rising or falling edge of the T0CKI  
pin. The incrementing edge is determined by the T0SE  
bit of the OPTION register. Counter mode is selected by  
setting the T0CS bit of the OPTION register to ‘1’.  
FIGURE 5-1:  
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER  
FOSC/4  
Data Bus  
0
1
8
1
Sync  
TMR0  
2 TCY  
T0CKI  
pin  
0
0
1
Set Flag bit T0IF  
on Overflow  
T0CS  
T0SE  
8-bit  
Prescaler  
PSA  
8
PSA  
1
PS<2:0>  
WDT  
Time-out  
Watchdog  
Timer  
0
WDTE  
PSA  
Note 1: T0SE, T0CS, PSA, PS<2:0> are bits in the OPTION register.  
2: WDTE bit is in the Configuration Word register.  
© 2006 Microchip Technology Inc.  
Preliminary  
DS41302A-page 41  
 复制成功!