Microchip Technology Microstick for the 3V PIC24F K-series DM240013-1 DM240013-1 Data Sheet
Product codes
DM240013-1
PIC24F16KL402 FAMILY
DS31037B-page 116
2011 Microchip Technology Inc.
REGISTER 12-1:
T1CON: TIMER1 CONTROL REGISTER
R/W-0
U-0
R/W-0
U-0
U-0
U-0
R/W-0
R/W-0
TON
—
TSIDL
—
—
—
T1ECS1
(
)
T1ECS0
bit 15
bit 8
U-0
R/W-0
R/W-0
R/W-0
U-0
R/W-0
R/W-0
U-0
—
TGATE
TCKPS1
TCKPS0
—
TSYNC
TCS
—
bit 7
bit 0
Legend:
R = Readable bit
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 15
TON:
Timer1 On bit
1
= Starts 16-bit Timer1
0
= Stops 16-bit Timer1
bit 14
Unimplemented:
Read as ‘0’
bit 13
TSIDL:
Stop in Idle Mode bit
1
= Discontinue module operation when device enters Idle mode
0
= Continue module operation in Idle mode
bit 12-10
Unimplemented:
Read as ‘0’
bit 9-8
T1ECS <1:0>:
Timer1 Extended Clock Select bits
(
)
11
= Reserved; do not use
10
= Timer1 uses the LPRC as the clock source
01
= Timer1 uses the External Clock from T1CK
00
= Timer1 uses the Secondary Oscillator (SOSC) as the clock source
bit 7
Unimplemented:
Read as ‘0’
bit 6
TGATE:
Timer1 Gated Time Accumulation Enable bit
When TCS = 1:
This bit is ignored.
When TCS = 0:
1
This bit is ignored.
When TCS = 0:
1
= Gated time accumulation is enabled
0
= Gated time accumulation is disabled
bit 5-4
TCKPS<1:0>:
Timer1 Input Clock Prescale Select bits
11
= 1:256
10
= 1:64
01
= 1:8
00
= 1:1
bit 3
Unimplemented:
Read as ‘0’
bit 2
TSYNC:
Timer1 External Clock Input Synchronization Select bit
When TCS = 1:
1
1
= Synchronize external clock input
0
= Do not synchronize external clock input
When TCS = 0:
This bit is ignored.
This bit is ignored.
bit 1
TCS:
Timer1 Clock Source Select bit
1
= Timer1 clock source is selected by T1ECS<1:0>
0
= Internal clock (F
OSC
/2)
bit 0
Unimplemented:
Read as ‘0’
Note 1:
The T1ECS bits are valid only when TCS = 1.