|
PIC16LF1454 Datasheet, PDF (199/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology | |||
|
◁ |
21.0 TIMER2 MODULE
The Timer2 module incorporates the following features:
⢠8-bit Timer and Period registers (TMR2 and PR2,
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 match with PR2, respectively
⢠Optional use as the shift clock for the MSSP
module (Timer2 only)
See Figure 21-1 for a block diagram of Timer2.
FIGURE 21-1:
TIMER2 BLOCK DIAGRAM
PIC16(L)F1454/5/9
TMR2
Output
Sets Flag
bit TMR2IF
FOSC/4
Prescaler
1:1, 1:4, 1:16, 1:64
2
T2CKPS<1:0>
TMR2
Reset
Comparator
Postscaler
EQ 1:1 to 1:16
PR2
4
T2OUTPS<3:0>
ï£ 2012 Microchip Technology Inc.
Preliminary
DS41639A-page 199
|
▷ |