English
Language : 

PIC18LF24K Datasheet, PDF (242/594 Pages) –
PIC18(L)F26/45/46K40
20.0 TIMER2/4/6 MODULE
The Timer2/4/6 modules are 8-bit timers that
incorporate the following features:
• 8-bit Timer and Period registers (TMR2 and PR2,
respectively)
• Readable and writable (both registers)
• Software programmable prescaler (1:1 to 1:128)
• Software programmable postscaler (1:1 to 1:16)
• Interrupt on TMR2 match with PR2
• One-shot operation
• Full asynchronous operation
• Includes Hardware Limit Timer (HLT)
• Alternate clock sources
• External Timer Reset signal sources
• Configurable Timer Reset operation
See Figure 20-1 for Timer2 clock sources. See
Figure 20-2 for a block diagram of Timer2 with HLT.
Note:
Three identical Timer2 modules are
implemented on this device. The timers are
named Timer2, Timer4 and Timer6. All
references to Timer2 apply as well to
Timer4 and Timer6. All references to PR2
apply as well to PR4 and PR6.
FIGURE 20-1:
TIMER2 CLOCK SOURCE
BLOCK DIAGRAM
Rev. 10-000169D
8/7/2015
TxCLK <3:0>
TXINPPS
TXIN
PPS
0000
See
TxCLKCON
Register
TMRx_clk
1111
 2016 Microchip Technology Inc.
Preliminary
DS40001816C-page 242