Microchip Technology IC MCU 8BIT PIC18F65K22-I/PT TQFP-64 MCP PIC18F65K22-I/PT Data Sheet

Product codes
PIC18F65K22-I/PT
Page of 550
PIC18F87K22 FAMILY
DS39960D-page 200
 2009-2011 Microchip Technology Inc.
FIGURE 14-1:
TIMER1 BLOCK DIAGRAM
TMR1H
TMR1L
T1SYNC
T1CKPS<1:0>
Prescaler
1, 2, 4, 8
0
1
Synchronized
Clock Input
2
Set Flag bit,
TMR1IF, on
Overflow
TMR1
(2)
TMR1ON
Note
1:
ST Buffer is a high-speed type when using T1CKI.
2:
Timer1 register increments on rising edge.
3:
Synchronization does not operate while in Sleep.
4:
The output of SOSC is determined by the SOSCSEL<1:0> Configuration bits.
T1G
SOSC
F
OSC
/4
Internal
Clock
SOSCO/SCLKI
SOSCI
1
0
T1CKI
TMR1CS<1:0>
(1)
Synchronize
(3)
det
Sleep Input
TMR1GE
0
1
00
01
10
11
From TMR2 
From Comparator 1
T1GPOL
D
Q
CK
Q
0
1
T1GVAL
T1GTM
Single Pulse
Acq. Control
T1GSPM
T1GGO/T1DONE
T1GSS<1:0>
EN
OUT
(4)
10
00
01
F
OSC
Internal
Clock
From Comparator 2
Match PR2
R
D
EN
Q
Q1
RD
T1GCON
Data Bus
det
Interrupt
TMR1GIF
Set
T1CLK
F
OSC
/2
Internal
Clock
D
EN
Q
T1G_IN
TMR1ON
Output
Output
T1CON.SOSCEN
T3CON.SOSCEN
SOSCGO
SCS<1:0> = 01