English
Language : 

PIC16LF1454 Datasheet, PDF (187/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology
PIC16(L)F1454/5/9
20.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)
• Auto-conversion Trigger (with CCP)
• Selectable Gate Source Polarity
• Gate Toggle mode
FIGURE 20-1:
TIMER1 BLOCK DIAGRAM
• Gate Single-pulse mode
• Gate Value Status
• Gate Event Interrupt
Figure 20-1 is a block diagram of the Timer1 module.
T1GSS<1:0>
T1G
00
T1GSPM
From Timer0
Overflow
01
sync_C1OUT
10
sync_C2OUT
11
T1GPOL
t1g_in
TMR1ON
T1GTM
DQ
CK Q
R
Set flag bit
TMR1IF on
Overflow
To ADC Auto-Conversion
TMR1(2)
TMR1H
TMR1L
0
Single-Pulse
Acq. Control
1
T1GGO/DONE
0
T1GVAL D Q
1
Q1 EN
Interrupt
det
Data Bus
RD
T1GCON
Set
TMR1GIF
EN
QD
T1CLK
TMR1ON
0
TMR1GE
To Comparator Module(4)
Synchronized
clock input
T1OSO
T1OSI
T1OSCEN
T1CKI
OUT
T1OSC
EN
(1)
TMR1CS<1:0>
LFINTOSC 11
1
10
0
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:
2:
3:
4:
ST Buffer is high speed type when using T1CKI.
Timer1 register increments on rising edge.
Synchronize does not operate while in Sleep.
PIC16(L)F1455/9 only.
 2012 Microchip Technology Inc.
Preliminary
DS41639A-page 187