English
Language : 

PIC16LF720_11 Datasheet, PDF (95/244 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F720/721
13.0 TIMER1 MODULE WITH GATE
CONTROL
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
• Synchronous or asynchronous operation
• Multiple Timer1 gate (count enable) sources
• Interrupt on overflow
• Wake-up on overflow (external clock,
Asynchronous mode only)
• Time base for the Capture/Compare function
• Special Event Trigger (with CCP)
• Selectable Gate Source Polarity
FIGURE 13-1:
T1GSS<1:0>
TIMER1 BLOCK DIAGRAM
• Gate Toggle Mode
• Gate Single-pulse Mode
• Gate Value Status
• Gate Event Interrupt
Figure 13-1 is a block diagram of the Timer1 module.
T1G
00
T1GSPM
From Timer0
01
Overflow
From Timer2
Match PR2
10
From WDT
Overflow
11
T1GPOL
TMR1ON
T1GTM
T1G_IN
DQ
CK Q
R
0
Single Pulse
1
Acq. Control
T1GGO/DONE
0
T1GVAL
DQ
1
Q1 EN
Interrupt
det
TMR1ON
TMR1GE
Data Bus
RD
T1GCON
Set
TMR1GIF
TMR1(2)
TMR1H
TMR1L
EN
QD
Set flag bit
TMR1IF on
Overflow
T1CKI
TMR1CS<1:0>
(1)
Reserved
FOSC/4
Internal
Clock
FOSC
Internal
Clock
T1CLK
0
Synchronized
clock input
1
T1SYNC
10
Prescaler
1, 2, 4, 8
11
2
Synchronize(3)
det
T1CKPS<1:0>
00
FOSC/2
Internal
Sleep input
01
Clock
Note 1: ST buffer is high speed type when using T1CKI.
2: Timer1 register increments on rising edge.
3: Synchronize does not operate while in Sleep.
 2011 Microchip Technology Inc.
Preliminary
DS41430B-page 95