English
Language : 

PIC16F716-I-P Datasheet, PDF (38/136 Pages) Microchip Technology – 8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
PIC16F716
REGISTER 6-1: T2CON: TIMER 2 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 6-1: SUMMARY OF REGISTERS ASSOCIATED WITH TIMER2
Name Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
INTCON
PIE1
PIR1
PR2
TMR2
T2CON
Legend:
GIE
PEIE
T0IE
INTE
RBIE
T0IF
INTF
RBIF
0000 000x
—
ADIE
—
—
—
CCP1IE TMR2IE TMR1IE -0-- -000
—
ADIF
—
—
—
CCP1IF TMR2IF TMR1IF -0-- -000
Timer2 Module Period Register
1111 1111
Holding Register for the 8-bit TMR2 Register
0000 0000
— TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000
x = unknown, u = unchanged, - = unimplemented read as ‘0’. Shaded cells are not used for Timer2 module.
Value on
all other
Resets
0000 000x
-0-- -000
-0-- -000
1111 1111
0000 0000
-000 0000
DS41206B-page 36
© 2007 Microchip Technology Inc.