Datasheet
2010-2011 Microchip Technology Inc. DS41418B-page 111
PIC16(L)F707
13.11 Timer1/3 Control Register
The Timer1/3 Control register (TxCON), shown in
Register 13-1, is used to control Timer1/3 and select
the various features of the Timer1/3 module.
REGISTER 13-1: TxCON: TIMER1/TIMER3 CONTROL REGISTER
R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 R/W-0/0 U-0 R/W-0/0
TMRxCS1 TMRxCS0 TxCKPS1 TxCKPS0 T1OSCEN
(1)
TxSYNC —TMRxON
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared
bit 7-6 TMRxCS<1:0>: Timerx Clock Source Select bits
11 =Timerx clock source is Capacitive Sensing Oscillator (CPSxOSC)
10 =Timerx clock source is pin or oscillator:
If T
1OSCEN = 0:
External clock from TxCKI pin (on the rising edge)
If T
1OSCEN = 1:
Crystal oscillator on T1OSI/T1OSO pins
01 =Timerx clock source is system clock (FOSC)
00 =Timerx clock source is instruction clock (F
OSC/4)
bit 5-4 TxCKPS<1:0>: Timerx 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)
1 = Dedicated Timer1/3 oscillator circuit enabled
0 = Dedicated Timer1/3 oscillator circuit disabled
bit 2 Tx
SYNC: Timerx External Clock Input Synchronization Control bit
If TMRxCS<1:0> = 1X
1 = Do not synchronize external clock input
0 = Synchronize external clock input with system clock (F
OSC)
If
TMRxCS<1:0> = 0X
This bit is ignored. Timerx uses the internal clock when TMR1CS<1:0> = 0X.
bit 1 Unimplemented: Read as ‘0’
bit 0 TMRxON: Timerx on bit
1 = Enables Timerx
0 = Stops Timerx
Clears Timerx gate flip-flop