Datasheet

Table Of Contents
PIC16(L)F1526/7
DS41458C-page 174 2011-2013 Microchip Technology Inc.
18.11 Register Definitions: Timer1/3/5 Control
REGISTER 18-1: TxCON: TIMER1/3/5 CONTROL REGISTER
R/W-0/u R/W-0/u R/W-0/u R/W-0/u R/W-0/u R/W-0/u U-0 R/W-0/u
TMRxCS<1:0> TxCKPS<1:0> SOSCEN 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>: Timer1/3/5 Clock Source Select bits
11 = Timer1/3/5 clock source is LFINTOSC
10 = Timer1/3/5 clock source is pin or oscillator:
If SOSCEN =
0:
External clock from TxCKI pin (on the rising edge)
If SOSCEN =
1:
Crystal oscillator on SOSCI/SOSCO pins
01 = Timer1/3/5 clock source is system clock (F
OSC)
00 = Timer1/3/5 clock source is instruction clock (F
OSC/4)
bit 5-4
TxCKPS<1:0>: Timer1/3/5 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
SOSCEN: LP Oscillator Enable Control bit
1 = Dedicated secondary oscillator circuit enabled
0 = Dedicated secondary oscillator circuit disabled
bit 2 TxSYNC: Timer1/3/5 External Clock Input Synchronization Control bit
TMRxCS<1:0> =
1X:
1 = Do not synchronize external clock input
0 = Synchronize external clock input with system clock (F
OSC)
TMRxCS<1:0> =
0X:
This bit is ignored.
bit 1
Unimplemented: Read as ‘0
bit 0
TMRxON: Timer1/3/5 On bit
1 = Enables Timer1/3/5
0 = Stops Timer1/3/5
Clears Timer1/3/5 gate flip-flop