English
Language : 

PIC16F610 Datasheet, PDF (56/180 Pages) Microchip Technology – 14-Pin, Flash-Based 8-Bit CMOS Microcontrollers
PIC16F610/616/16HV610/616
REGISTER 7-1: T2CON: TIMER2 CONTROL REGISTER
U-0
—
bit 7
R/W-0
TOUTPS3
R/W-0
TOUTPS2
R/W-0
TOUTPS1
R/W-0
TOUTPS0
R/W-0
TMR2ON
R/W-0
T2CKPS1
R/W-0
T2CKPS0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
bit 6-3
bit 2
bit 1-0
Unimplemented: Read as ‘0’
TOUTPS<3:0>: Timer2 Output Postscaler Select bits
0000 = 1:1 Postscaler
0001 = 1:2 Postscaler
0010 = 1:3 Postscaler
0011 = 1:4 Postscaler
0100 = 1:5 Postscaler
0101 = 1:6 Postscaler
0110 = 1:7 Postscaler
0111 = 1:8 Postscaler
1000 = 1:9 Postscaler
1001 = 1:10 Postscaler
1010 = 1:11 Postscaler
1011 = 1:12 Postscaler
1100 = 1:13 Postscaler
1101 = 1:14 Postscaler
1110 = 1:15 Postscaler
1111 = 1:16 Postscaler
TMR2ON: Timer2 On bit
1 = Timer2 is on
0 = Timer2 is off
T2CKPS<1:0>: Timer2 Clock Prescale Select bits
00 = Prescaler is 1
01 = Prescaler is 4
1x = Prescaler is 16
TABLE 7-1: SUMMARY OF ASSOCIATED TIMER2 REGISTERS
Name Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
Value on
all other
Resets
INTCON GIE
PIE1
—
PIR1
—
PEIE
ADIE(1)
ADIF(1)
T0IE
CCP1IE(1)
CCP1IF(1)
INTE
C2IE
C2IF
RAIE
C1IE
C1IF
T0IF
—
—
INTF
TMR2IE(1)
TMR2IF(1)
RAIF
TMR1IE
TMR1IF
0000 0000
-000 0-00
-000 0-00
PR2
Timer2 Module Period Register
1111 1111
TMR2 Holding Register for the 8-bit TMR2 Register
0000 0000
T2CON
— TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000
Legend: x = unknown, u = unchanged, – = unimplemented read as ‘0’. Shaded cells are not used for Timer2 module.
Note 1: PIC16F616/16HV616 only.
0000 0000
-000 0-00
-000 0-00
1111 1111
0000 0000
-000 0000
DS41288C-page 54
Preliminary
© 2007 Microchip Technology Inc.