English
Language : 

PIC16F631 Datasheet, PDF (34/294 Pages) Microchip Technology – 20-Pin Flash-Based, 8-Bit CMOS Microcontrollers with nanoWatt Technology
PIC16F631/677/685/687/689/690
TABLE 2-1: PIC16F631/677/685/687/689/690 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 44,201
01h TMR0
Timer0 Module Register
xxxx xxxx 81,201
02h PCL
Program Counter’s (PC) Least Significant Byte
0000 0000 44,201
03h STATUS
IRP
RP1
RP0
TO
PD
Z
DC
C
0001 1xxx 36,201
04h FSR
05h PORTA(7)
06h PORTB(7)
07h PORTC(7)
Indirect Data Memory Address Pointer
—
—
RA5
RB7
RB6
RB5
RC7
RC6
RC5
RA4
RB4
RC4
RA3
—
RC3
RA2
—
RC2
RA1
—
RC1
RA0
—
RC0
xxxx xxxx
--xx xxxx
xxxx ----
xxxx xxxx
44,201
59,201
69,201
76,201
08h
—
Unimplemented
—
—
09h
—
Unimplemented
—
—
0Ah PCLATH
0Bh INTCON
0Ch PIR1
—
—
—
Write Buffer for upper 5 bits of Program Counter
---0 0000 44,201
GIE
PEIE
T0IE
INTE
RABIE
T0IF
INTF
RABIF(1) 0000 000x 38,201
—
ADIF(4)
RCIF(2)
TXIF(2) SSPIF(5) CCP1IF(3) TMR2IF(3) TMR1IF -000 0000 41,201
0Dh PIR2
OSFIF
C2IF
C1IF
EEIF
—
—
—
—
0000 ---- 42,201
0Eh TMR1L
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register
xxxx xxxx 86,201
0Fh TMR1H
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register
xxxx xxxx 86,201
10h T1CON
T1GINV TMR1GE T1CKPS1 T1CKPS0 T1OSCEN T1SYNC TMR1CS TMR1ON 0000 0000 88,201
11h TMR2(3)
Timer2 Module Register
0000 0000 91,201
12h T2CON(3)
—
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 92,201
13h SSPBUF(5) Synchronous Serial Port Receive Buffer/Transmit Register
xxxx xxxx 178,201
14h SSPCON(5, 6) WCOL SSPOV SSPEN
CKP
SSPM3 SSPM2 SSPM1 SSPM0 0000 0000 177,201
15h CCPR1L(3) Capture/Compare/PWM Register 1 (LSB)
xxxx xxxx 128,201
16h CCPR1H(3) Capture/Compare/PWM Register 1 (MSB)
xxxx xxxx 128,201
17h CCP1CON(3) P1M1
P1M0
DC1B1 DC1B0 CCP1M3 CCP1M2 CCP1M1 CCP1M0 0000 0000 127,201
18h RCSTA(2)
SPEN
RX9
SREN
CREN ADDEN FERR
OERR
RX9D 0000 000x 159,201
19h TXREG(2)
EUSART Transmit Data Register
0000 0000 151
1Ah RCREG(2)
EUSART Receive Data Register
0000 0000 154
1Bh
—
Unimplemented
—
—
1Ch PWM1CON(3) PRSEN
PDC6
PDC5
PDC4
PDC3
PDC2
PDC1
PDC0 0000 0000 144,201
1Dh ECCPAS(3) ECCPASE ECCPAS2 ECCPAS1 ECCPAS0 PSSAC1 PSSAC0 PSSBD1 PSSBD0 0000 0000 141,201
1Eh ADRESH(4) A/D Result Register High Byte
xxxx xxxx 115,201
1Fh ADCON0(4)
ADFM
VCFG
CHS3
CHS2
CHS1
CHS0 GO/DONE ADON 0000 0000 113,201
Legend:
Note 1:
2:
3:
4:
5:
6:
7:
– = 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 RABIF bit will be cleared upon Reset but will set again if the
mismatch exists.
PIC16F687/PIC16F689/PIC16F690 only.
PIC16F685/PIC16F690 only.
PIC16F677/PIC16F685/PIC16F687/PIC16F689/PIC16F690 only.
PIC16F677/PIC16F687/PIC16F689/PIC16F690 only.
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 13-2 and 13-3 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).
DS41262D-page 32
© 2007 Microchip Technology Inc.