English
Language : 

PIC16LF1507 Datasheet, PDF (139/266 Pages) Microchip Technology – 20-Pin Flash, 8-Bit Microcontrollers
PIC16(L)F1507
17.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
• 2-bit prescaler
• Optionally synchronized comparator out
• Multiple Timer1 gate (count enable) sources
• Interrupt on overflow
• Wake-up on overflow (external clock,
Asynchronous mode only)
• Special Event Trigger
• Selectable Gate Source Polarity
• Gate Toggle mode
• Gate Single-Pulse mode
• Gate Value Status
• Gate Event Interrupt
Figure 17-1 is a block diagram of the Timer1 module.
FIGURE 17-1:
TIMER1 BLOCK DIAGRAM
T1GSS
T1G
0
T1GSPM
From Timer0
Overflow
1
t1g_in
0
DQ
1
Single Pulse
Acq. Control
0
T1GVAL D Q
1
Q1 EN
T1GPOL
TMR1ON
T1GTM
CK Q
R
Set flag bit
TMR1IF on
Overflow
To ADC Auto-Conversion
TMR1(2)
TMR1H
TMR1L
T1GGO/DONE
TMR1ON
Interrupt
det
TMR1GE
EN
Q D T1CLK
0
Synchronized
Clock Input
TMR1CS<1:0>
1
T1SYNC
Data Bus
RD
T1GCON
Set
TMR1GIF
T1CKI
LFINTOSC 11
Prescaler
Synchronize(3)
(1)
1, 2, 4, 8
det
10
2
FOSC
T1CKPS<1:0>
Internal 01
Clock
FOSC/2
FOSC/4
Internal 00
Internal
Clock
Clock
Sleep input
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.
DS41586A-page 139
Preliminary
 2011 Microchip Technology Inc.