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

PIC16F722-I/SS 参数 Datasheet PDF下载

PIC16F722-I/SS图片预览
型号: PIC16F722-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚闪存单片机采用纳瓦XLP技术 [28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology]
分类和应用: 闪存微控制器
文件页数/大小: 302 页 / 4540 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC16F722-I/SS的Datasheet PDF文件第107页浏览型号PIC16F722-I/SS的Datasheet PDF文件第108页浏览型号PIC16F722-I/SS的Datasheet PDF文件第109页浏览型号PIC16F722-I/SS的Datasheet PDF文件第110页浏览型号PIC16F722-I/SS的Datasheet PDF文件第112页浏览型号PIC16F722-I/SS的Datasheet PDF文件第113页浏览型号PIC16F722-I/SS的Datasheet PDF文件第114页浏览型号PIC16F722-I/SS的Datasheet PDF文件第115页  
PIC16F72X/PIC16LF72X
11.0
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.
The Timer0 module is an 8-bit timer/counter with the
following features:
8-bit timer/counter register (TMR0)
8-bit prescaler (shared with Watchdog Timer)
Programmable internal or external clock source
Programmable external clock edge selection
Interrupt on overflow
TMR0 can be used to gate Timer1
11.1.2
8-BIT COUNTER MODE
In 8-Bit Counter mode, the Timer0 module will
increment on every rising or falling edge of the T0CKI
pin or the Capacitive Sensing Oscillator (CPSOSC)
signal.
8-Bit Counter Mode using the T0CKI pin is selected by
setting the T0CS bit in the OPTION register to ‘1’ and
resetting the T0XCS bit in the CPSCON0 register to ‘0’.
8-Bit Counter Mode using the Capacitive Sensing
Oscillator (CPSOSC) signal is selected by setting the
T0CS bit in the OPTION register to ‘1’ and setting the
T0XCS bit in the CPSCON0 register to ‘1’.
The rising or falling transition of the incrementing edge
for either input source is determined by the T0SE bit in
the OPTION register.
11.1
Timer0 Operation
The Timer0 module can be used as either an 8-bit timer
or an 8-bit counter.
11.1.1
8-BIT TIMER MODE
The Timer0 module will increment every instruction
cycle, if used without a prescaler. 8-Bit Timer mode is
selected by clearing the T0CS bit of the OPTION
register.
FIGURE 11-1:
F
OSC
/4
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
Data Bus
T0XCS
T0CKI
0
Cap. Sensing
Oscillator
T1GSS =
11
TMR1GE
PSA
WDTE
8
1
0
1
0
T0SE
T0CS
1
8-bit
Prescaler
PSA
0
1
Sync
2 T
CY
TMR0
Set Flag bit T0IF
on Overflow
Overflow to Timer1
8
Low-Power
WDT OSC
Divide by
512
PS<2:0>
1
WDT
Time-out
0
PSA
©
2009 Microchip Technology Inc.
DS41341E-page 111