English
Language : 

PIC16F676-I Datasheet, PDF (34/132 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F630/676
5.0 TIMER1 MODULE WITH GATE
CONTROL
The PIC16F630/676 devices have a 16-bit timer.
Figure 5-1 shows the basic block diagram of the Timer1
module. Timer1 has the following features:
• 16-bit timer/counter (TMR1H:TMR1L)
• Readable and writable
• Internal or external clock selection
• Synchronous or asynchronous operation
• Interrupt on overflow from FFFFh to 0000h
• Wake-up upon overflow (Asynchronous mode)
• Optional external enable input (T1G)
• Optional LP oscillator
The Timer1 Control register (T1CON), shown in
Register 5-1, is used to enable/disable Timer1 and
select the various features of the Timer1 module.
Note:
Additional information on timer modules is
available in the PIC® Mid-Range Refer-
ence Manual, (DS33023).
FIGURE 5-1:
TIMER1 BLOCK DIAGRAM
TMR1ON
TMR1GE
Set Flag bit
TMR1IF on
Overflow
TMR1
TMR1H
TMR1L
TMR1ON
T1G
TMR1GE
Synchronized
0
Clock Input
OSC1
LP Oscillator
OSC2
INTOSC
w/o CLKOUT
T1OSCEN
1
FOSC/4
Internal
Clock
1
0
TMR1CS
T1SYNC
Prescaler
1, 2, 4, 8
2
T1CKPS<1:0>
Synchronize
Detect
Sleep Input
LP
DS40039F-page 34
 2010 Microchip Technology Inc.