English
Language : 

PIC16LF1508 Datasheet, PDF (167/384 Pages) Microchip Technology – 20-Pin Flash, 8-Bit Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1508/9
19.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
FIGURE 19-1:
TIMER1 BLOCK DIAGRAM
• Gate Single-Pulse mode
• Gate Value Status
• Gate Event Interrupt
Figure 19-1 is a block diagram of the Timer1 module.
T1GSS<1:0>
T1G
00
From Timer0
Overflow
01
SYNCC1OUT
10
SYNCC2OUT
11
t1g_in
0
DQ
1
T1GSPM
Single Pulse
Acq. Control
0
T1GVAL
DQ
1
Q1 EN
Data Bus
RD
T1GCON
T1GPOL
TMR1ON
T1GTM
CK Q
R
Set flag bit
TMR1IF on
Overflow
To ADC Auto-Conversion
TMR1(2)
TMR1H
TMR1L
T1GGO/DONE
Interrupt
det
TMR1ON
TMR1GE
Set
TMR1GIF
EN
0
T1CLK
QD
Synchronized
Clock Input
SOSCO/T1CKI
SOSCI
T1OSCEN
OUT
Secondary
Oscillator
1
EN
0
(1)
TMR1CS<1:0>
LFINTOSC 11
10
FOSC
Internal 01
Clock
FOSC/4
Internal 00
Clock
1
T1SYNC
Prescaler
1, 2, 4, 8
2
T1CKPS<1:0>
Synchronize(3)
det
FOSC/2
Internal
Clock
Sleep input
To Clock Switching
Modules
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
DS41609A-page 167