English
Language : 

PIC16F882_09 Datasheet, PDF (28/328 Pages) Microchip Technology – 28/40/44-Pin, Enhanced Flash-Based 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F882/883/884/886/887
TABLE 2-1: PIC16F882/883/884/886/887 SPECIAL FUNCTION REGISTERS SUMMARY BANK 0
Addr Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
POR, BOR
Page
Bank 0
00h INDF
Addressing this location uses contents of FSR to address data memory (not a physical register) xxxx xxxx 37,217
01h TMR0
Timer0 Module Register
xxxx xxxx 73,217
02h PCL
Program Counter’s (PC) Least Significant Byte
0000 0000 37,217
03h STATUS
IRP
RP1
RP0
TO
PD
Z
DC
C
0001 1xxx 29,217
04h FSR
Indirect Data Memory Address Pointer
05h PORTA(3)
RA7
RA6
RA5
RA4
06h PORTB(3)
RB7
RB6
RB5
RB4
07h PORTC(3)
RC7
RC6
RC5
RC4
08h PORTD(3,4)
RD7
RD6
RD5
RD4
09h PORTE(3)
—
—
—
—
RA3
RB3
RC3
RD3
RE3
RA2
RB2
RC2
RD2
RE2(4)
RA1
RB1
RC1
RD1
RE1(4)
RA0
RB0
RC0
RD0
RE0(4)
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
---- xxxx
37,217
39,217
48,217
53,217
57,217
59,217
0Ah PCLATH
0Bh INTCON
—
—
—
Write Buffer for upper 5 bits of Program Counter
---0 0000 37,217
GIE
PEIE
T0IE
INTE
RBIE
T0IF
INTF
RBIF(1) 0000 000x 31,217
0Ch PIR1
—
ADIF
RCIF
TXIF
SSPIF CCP1IF TMR2IF TMR1IF -000 0000 34,217
0Dh PIR2
OSFIF
C2IF
C1IF
EEIF
BCLIF ULPWUIF
—
CCP2IF 0000 00-0 35,217
0Eh TMR1L
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register
xxxx xxxx 76,217
0Fh TMR1H
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register
xxxx xxxx 76,217
10h T1CON
T1GINV TMR1GE T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON 0000 0000 79,217
11h TMR2
Timer2 Module Register
0000 0000 81,217
12h T2CON
—
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 82,217
13h SSPBUF
Synchronous Serial Port Receive Buffer/Transmit Register
14h SSPCON(2)
WCOL
SSPOV SSPEN
CKP
SSPM3
SSPM2
SSPM1
xxxx xxxx 183,217
SSPM0 0000 0000 181,217
15h CCPR1L
Capture/Compare/PWM Register 1 Low Byte (LSB)
xxxx xxxx 126,217
16h CCPR1H
Capture/Compare/PWM Register 1 High Byte (MSB)
xxxx xxxx 126,217
17h CCP1CON
P1M1
P1M0
DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 0000 0000 124,217
18h RCSTA
SPEN
RX9
SREN
CREN ADDEN FERR
OERR
RX9D 0000 000x 161,217
19h TXREG
EUSART Transmit Data Register
0000 0000 153,217
1Ah RCREG
EUSART Receive Data Register
0000 0000 158,217
1Bh CCPR2L
Capture/Compare/PWM Register 2 Low Byte (LSB)
xxxx xxxx 126,217
1Ch CCPR2H
Capture/Compare/PWM Register 2 High Byte (MSB)
xxxx xxxx 126,218
1Dh CCP2CON
—
—
DC2B1 DC2B0 CCP2M3 CCP2M2 CCP2M1 CCP2M0 --00 0000 125,218
1Eh ADRESH
A/D Result Register High Byte
xxxx xxxx 99,218
1Fh ADCON0
ADCS1 ADCS0 CHS3
CHS2
CHS1
CHS0 GO/DONE ADON 0000 0000 104,218
Legend:
Note 1:
2:
3:
4:
– = Unimplemented locations read as ‘0’, u = unchanged, x = unknown, q = value depends on condition, shaded = unimplemented
MCLR and WDT Reset do not affect the previous value data latch. The RBIF bit will be cleared upon Reset but will set again if the
mismatch exists.
When SSPCON register bits SSPM<3:0> = 1001, any reads or writes to the SSPADD SFR address are accessed through the SSPMSK
register. See Registers • and 13-4 for more detail.
Port pins with analog functions controlled by the ANSEL and ANSELH registers will read ‘0’ immediately after a Reset even though the
data latches are either undefined (POR) or unchanged (other Resets).
PIC16F884/PIC16F887 only.
DS41291F-page 26
© 2009 Microchip Technology Inc.