DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

PIC16C62B-10I/JW 데이터 시트보기 (PDF) - Microchip Technology

부품명
상세내역
제조사
PIC16C62B-10I/JW
Microchip
Microchip Technology 
PIC16C62B-10I/JW Datasheet PDF : 120 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
6.0 TIMER2 MODULE
The Timer2 module timer has the following features:
• 8-bit timer (TMR2 register)
- Readable and writable
• 8-bit period register (PR2)
- Readable and writable
• Software programmable prescaler (1:1, 1:4, 1:16)
• Software programmable postscaler (1:1 to 1:16)
• Interrupt on match (TMR2 = PR2)
• Timer2 can be used by SSP and CCP
Timer2 has a control register, shown in Register 6-1.
Timer2 can be shut off by clearing control bit TMR2ON
(T2CON<2>) to minimize power consumption.
Figure 6-1 is a simplified block diagram of the Timer2
module.
PIC16C62B/72A
Additional information on timer modules is available in
the PICmicro™ Mid-Range Reference Manual,
(DS33023).
FIGURE 6-1: TIMER2 BLOCK DIAGRAM
Sets flag
bit TMR2IF
TMR2
output
(1)
Reset
TMR2 reg
Postscaler
Comparator
1:1 to 1:16 EQ
4
PR2 reg
Prescaler
1:1, 1:4, 1:16 FOSC/4
2
Note 1: TMR2 register output can be software selected
by the SSP Module as a baud clock.
REGISTER 6-1:T2CON: TIMER2 CONTROL REGISTER (ADDRESS 12h)
U-0
bit7
bit 7:
bit 6-3:
bit 2:
bit 1-0:
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0
bit0
Unimplemented: Read as '0'
TOUTPS3:TOUTPS0: Timer2 Output Postscale Select bits
0000 = 1:1 Postscale
0001 = 1:2 Postscale
0010 = 1:3 Postscale
1111 = 1:16 Postscale
TMR2ON: Timer2 On bit
1 = Timer2 is on
0 = Timer2 is off
T2CKPS1:T2CKPS0: Timer2 Clock Prescale Select bits
00 = Prescaler is 1
01 = Prescaler is 4
1x = Prescaler is 16
R = Readable bit
W = Writable bit
U = Unimplemented bit,
read as ‘0’
- n = Value at POR reset
© 1999 Microchip Technology Inc.
Preliminary
DS35008B-page 31

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]