Microchip Technology AC244045 Data Sheet

Page of 302
PIC16F72X/PIC16LF72X
DS41341E-page 124
© 2009 Microchip Technology Inc.
12.11 Timer1 Control Register
The Timer1 Control register (T1CON), shown in
Register 12-1, is used to control Timer1 and select the
various features of the Timer1 module.
 
REGISTER 12-1:
T1CON: TIMER1 CONTROL REGISTER
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
U-0
R/W-0
TMR1CS1
TMR1CS0
T1CKPS1
T1CKPS0
T1OSCEN
T1SYNC
TMR1ON
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
TMR1CS<1:0>: Timer1 Clock Source Select bits
11
 = Timer1 clock source is Capacitive Sensing Oscillator (CAPOSC)
10
 = Timer1 clock source is pin or oscillator:
If T1OSCEN = 0:
External clock from T1CKI pin (on the rising edge)
If T1OSCEN = 1:
Crystal oscillator on T1OSI/T1OSO pins
01
 = Timer1 clock source is system clock (F
OSC
)
00
 = Timer1 clock source is instruction clock (F
OSC
/4)
bit 5-4
T1CKPS<1:0>: Timer1 Input Clock Prescale Select bits
11
 = 1:8 Prescale value
10
 = 1:4 Prescale value
01
 = 1:2 Prescale value
00
 = 1:1 Prescale value
bit 3
T1OSCEN: LP Oscillator Enable Control bit
1
 = Dedicated Timer1 oscillator circuit enabled
0
 = Dedicated Timer1 oscillator circuit disabled
bit 2
T1SYNC: Timer1 External Clock Input Synchronization Control bit
TMR1CS<1:0> = 1X
1
 = Do not synchronize external clock input
0
 = Synchronize external clock input with system clock (F
OSC
)
TMR1CS<1:0> = 0X
This bit is ignored. Timer1 uses the internal clock when TMR1CS<1:0> = 1X.
bit 1
Unimplemented: Read as ‘0’
bit 0
TMR1ON: Timer1 On bit
1
 = Enables Timer1
0
 = Stops Timer1
Clears Timer1 Gate flip-flop