English
Language : 

PIC16LF1526 Datasheet, PDF (179/354 Pages) Microchip Technology – 64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC16(L)F1526/27
19.0 TIMER2/4/6/8/10 MODULES
There are up to five identical Timer2-type modules
available. To maintain pre-existing naming conventions,
the Timers are called Timer2, Timer4, Timer6, Timer8
and Timer10 (also Timer2/4/6/8/10).
Note:
The ‘x’ variable used in this section is
used to designate Timer2, Timer4,
Timer6, Timer8 or Timer10. For example,
TxCON references T2CON, T4CON,
T6CON, T8CON or T10CON. PRx refer-
ences PR2, PR4, PR6, PR8 or PR10.
The Timer2/4/6/8/10 modules incorporate the following
features:
• 8-bit Timer and Period registers (TMR2/4/6/8/10
and PR2/4/6/8/10, respectively)
• Readable and writable (both registers)
• Software programmable prescaler (1:1, 1:4, 1:16,
and 1:64)
• Software programmable postscaler (1:1 to 1:16)
• Interrupt on TMR2/4/6/8/10 match with
PR2/4/6/8/10, respectively
• Optional use as the shift clock for the MSSPx
modules (Timer2 only)
See Figure 19-1 for a block diagram of
Timer2/4/6/8/10.
FIGURE 19-1:
TIMER2/4/6/8/10 BLOCK DIAGRAM
FOSC/4
Prescaler
1:1, 1:4, 1:16, 1:64
2
TxCKPS<1:0>
TMRx
Reset
TMRx Output
Comparator
PRx
Postscaler
EQ 1:1 to 1:16
4
TxOUTPS<3:0>
Sets Flag bit TMRxIF
 2011 Microchip Technology Inc.
Preliminary
DS41458A-page 179