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

PIC16F87-E/SO View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
PIC16F87-E/SO Datasheet PDF : 230 Pages
First Prev 71 72 73 74 75 76 77 78 79 80 Next Last
PIC16F87/88
REGISTER 8-1:
T2CON: TIMER2 CONTROL REGISTER (ADDRESS 12h)
U-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
bit 7
bit 0
bit 7
bit 6-3
bit 2
bit 1-0
Unimplemented: Read as ‘0
TOUTPS<3:0>: 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
T2CKPS<1:0>: Timer2 Clock Prescale Select bits
00 = Prescaler is 1
01 = Prescaler is 4
1x = Prescaler is 16
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
TABLE 8-1: REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
Address 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
0Bh, 8Bh, INTCON GIE
10Bh, 18Bh
0Ch
PIR1
8Ch
PIE1
PEIE
ADIF(1)
ADIE(1)
TMR0IE
RCIF
RCIE
INT0IE
TXIF
TXIE
RBIE TMR0IF INT0IF RBIF 0000 000x 0000 000u
SSPIF CCP1IF TMR2IF TMR1IF -000 0000 -000 0000
SSPIE CCP1IE TMR2IE TMR1IE -000 0000 -000 0000
11h
TMR2 Timer2 Module Register
0000 0000 0000 0000
12h
T2CON — TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
92h
PR2 Timer2 Period Register
1111 1111 1111 1111
Legend: x = unknown, u = unchanged, - = unimplemented, read as ‘0’. Shaded cells are not used by the Timer2 module.
Note 1: This bit is only implemented on the PIC16F88. The bit will read ‘0’ on the PIC16F87.
DS30487D-page 80
2002-2013 Microchip Technology Inc.

Share Link: 

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