English
Language : 

PIC16LF1904 Datasheet, PDF (143/288 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver and nanoWatt XLP Technology
PIC16LF1904/6/7
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
• Dedicated 32 kHz oscillator circuit
• Multiple Timer1 gate (count enable) sources
• Interrupt on overflow
• Wake-up on overflow (external clock,
Asynchronous mode only)
• Selectable Gate Source Polarity
• Gate Toggle Mode
• Gate Single-pulse Mode
FIGURE 17-1:
TIMER1 BLOCK DIAGRAM
• Gate Value Status
• Gate Event Interrupt
Figure 17-1 is a block diagram of the Timer1 module.
T1GSS<1:0>
T1G
0
T1GSPM
From Timer0
Overflow
1
T1G_IN
0
DQ
1
Single Pulse
Acq. Control
0
T1GVAL D Q
1
Q1 EN
Data Bus
RD
T1GCON
T1GPOL
TMR1ON
T1GTM
CK Q
R
Set flag bit
TMR1IF on
Overflow
TMR1(2)
TMR1H
TMR1L
T1GGO/DONE
TMR1ON
Interrupt
det
TMR1GE
Set
TMR1GIF
EN
Q D T1CLK
0
Synchronized
clock input
T1OSO
T1OSI
T1OSCEN
T1CKI
OUT
T1OSC
EN
(1)
TMR1CS<1:0>
Reserved 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 LCD and 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
DS41569A-page 143