PIC12F609/615/12HV609/615
6.2
Clock Source Selection
6.0
TIMER1 MODULE WITH GATE
CONTROL
The TMR1CS bit of the T1CON register is used to select
the clock source. When TMR1CS = 0, the clock source
is FOSC/4. When TMR1CS = 1, the clock source is
supplied externally.
The Timer1 module is a 16-bit timer/counter with the
following features:
• 16-bit timer/counter register pair (TMR1H:TMR1L)
• Programmable internal or external clock source
• 3-bit prescaler
Clock Source
TMR1CS
T1ACS
• Optional LP oscillator
FOSC/4
FOSC
0
0
1
0
1
x
• Synchronous or asynchronous operation
• Timer1 gate (count enable) via comparator or
T1G pin
T1CKI pin
• Interrupt on overflow
• Wake-up on overflow (external clock,
Asynchronous mode only)
• Time base for the Capture/Compare function
• Special Event Trigger (with ECCP)
• Comparator output synchronization to Timer1
clock
Figure 6-1 is a block diagram of the Timer1 module.
6.1
Timer1 Operation
The Timer1 module is a 16-bit incrementing counter
which is accessed through the TMR1H:TMR1L register
pair. Writes to TMR1H or TMR1L directly update the
counter.
When used with an internal clock source, the module is
a timer. When used with an external clock source, the
module can be used as either a timer or counter.
© 2006 Microchip Technology Inc.
Preliminary
DS41302A-page 45