Datasheet

Table Of Contents
2011-2013 Microchip Technology Inc. DS41458C-page 177
PIC16(L)F1526/7
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).
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
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
references PR2, PR4, PR6, PR8 or PR10.
Comparator
TMRx Output
Sets Flag bit TMRxIF
TMRx
Reset
Postscaler
Prescaler
PRx
2
F
OSC/4
1:1 to 1:16
1:1, 1:4, 1:16, 1:64
EQ
4
TxOUTPS<3:0>
TxCKPS<1:0>