![Microchip Technology PIC12F1501 Скачать руководство пользователя страница 165](http://html1.mh-extra.com/html/microchip-technology/pic12f1501/pic12f1501_manual_1785833165.webp)
PIC16(L)F1508/9
DS40001609E-page 166
2011-2015 Microchip Technology Inc.
20.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
See
for a block diagram of Timer2.
FIGURE 20-1:
TIMER2 BLOCK DIAGRAM
FIGURE 20-2:
TIMER2 TIMING DIAGRAM
Prescaler
1:1, 1:4, 1:16, 1:64
Fosc/4
2
T2CKPS<1:0>
Comparator
Postscaler
1:1 to 1:16
4
T2OUTPS<3:0>
set bit
TMR2IF
TMR2
R
PR2
T2_match
To Peripherals
Rev. 10-000019A
7/30/2013
0x03
0x00
0x01
0x02
0x03
0x00
0x01
0x02
1:4
Pulse Width
(1)
Note 1:
The Pulse Width of T2_match is equal to the scaled input of TMR2.
F
OSC
/4
Prescale
PR2
TMR2
T2_match
Rev. 10-000020A
7/30/2013
Содержание PIC12F1501
Страница 307: ...PIC16 L F1508 9 DS40001609E page 308 2011 2015 Microchip Technology Inc NOTES...
Страница 392: ...2011 2015 Microchip Technology Inc DS40001609E page 393 PIC16 L F1508 9 1RWH 6 7 7 588 8 7...
Страница 399: ...PIC16 L F1508 9 DS40001609E page 400 2011 2015 Microchip Technology Inc NOTES...