Datasheet
PIC16(L)F720/721
DS40001430E-page 102 2010-2013 Microchip Technology Inc.
13.10 Timer1 Control Register
The Timer1 Control register (T1CON), shown in
Register 13-1, is used to control Timer1 and select the
various features of the Timer1 module.
REGISTER 13-1: T1CON: TIMER1 CONTROL REGISTER
R/W-0 R/W-0 R/W-0 R/W-0 U-0 R/W-0 U-0 R/W-0
TMR1CS1 TMR1CS0 T1CKPS1 T1CKPS0
— 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 = Reserved
10 = Timer1 clock source is pin or oscillator. External clock from T1CKI pin (on the rising edge)
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 Unimplemented: Read as ‘0’
bit 2 T
1SYNC: 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