PIC16F721 registers

All 56 registers by peripheral, at their data-memory address as the register file map gives it (bank and offset), with their reset value and every bit.

CPU CPU core

INDF

Address
0x00
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PCL

Address
0x02
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

STATUS

Address
0x03
Reset
x (not fixed at power-on)
Access
read/write
  1. 7IRP
  2. 6RP1
  3. 5RP0
  4. 4nTO
  5. 3nPD
  6. 2Z
  7. 1DC
  8. 0C
7 fields
FieldBitsWhat it does
IRP7
RP6:5
nTO4
nPD3
Z2
DC1
C0

FSR

Address
0x04
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PCLATH

Address
0x0A
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4PCLATH4
  5. 3PCLATH3
  6. 2PCLATH2
  7. 1PCLATH1
  8. 0PCLATH0
1 field
FieldBitsWhat it does
PCLATH4:0

TMR0 Timer0

TMR0

Address
0x01
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

OPTION_REG

Address
0x81
Reset
0xFF
Access
read/write
  1. 7nRABPU
  2. 6INTEDG
  3. 5T0CS
  4. 4T0SE
  5. 3PSA
  6. 2PS2
  7. 1PS1
  8. 0PS0
6 fields
FieldBitsWhat it does
nRABPU7
INTEDG6
T0CS5
T0SE4
PSA3
PS2:0

PORTA I/O port A

PORTA

Address
0x05
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5RA5
  4. 4RA4
  5. 3RA3
  6. 2RA2
  7. 1RA1
  8. 0RA0
6 fields
FieldBitsWhat it does
RA55
RA44
RA33
RA22
RA11
RA00

TRISA

Address
0x85
Reset
0x37
Access
read/write
  1. 7–
  2. 6–
  3. 5TRISA5
  4. 4TRISA4
  5. 3–
  6. 2TRISA2
  7. 1TRISA1
  8. 0TRISA0
5 fields
FieldBitsWhat it does
TRISA55
TRISA44
TRISA22
TRISA11
TRISA00

WPUA

Address
0x95
Reset
0x3F
Access
read/write
  1. 7–
  2. 6–
  3. 5WPUA5
  4. 4WPUA4
  5. 3WPUA3
  6. 2WPUA2
  7. 1WPUA1
  8. 0WPUA0
6 fields
FieldBitsWhat it does
WPUA55
WPUA44
WPUA33
WPUA22
WPUA11
WPUA00

IOCA

Address
0x96
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5IOCA5
  4. 4IOCA4
  5. 3IOCA3
  6. 2IOCA2
  7. 1IOCA1
  8. 0IOCA0
6 fields
FieldBitsWhat it does
IOCA55
IOCA44
IOCA33
IOCA22
IOCA11
IOCA00

ANSELA

Address
0x185
Reset
0x37
Access
read/write
  1. 7–
  2. 6–
  3. 5ANSA5
  4. 4ANSA4
  5. 3–
  6. 2ANSA2
  7. 1ANSA1
  8. 0ANSA0
5 fields
FieldBitsWhat it does
ANSA55
ANSA44
ANSA22
ANSA11
ANSA00

PORTB I/O port B

PORTB

Address
0x06
Reset
x (not fixed at power-on)
Access
read/write
  1. 7RB7
  2. 6RB6
  3. 5RB5
  4. 4RB4
  5. 3–
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
RB77
RB66
RB55
RB44

TRISB

Address
0x86
Reset
0xF0
Access
read/write
  1. 7TRISB7
  2. 6TRISB6
  3. 5TRISB5
  4. 4TRISB4
  5. 3–
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
TRISB77
TRISB66
TRISB55
TRISB44

WPUB

Address
0x115
Reset
0xF0
Access
read/write
  1. 7WPUB7
  2. 6WPUB6
  3. 5WPUB5
  4. 4WPUB4
  5. 3–
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
WPUB77
WPUB66
WPUB55
WPUB44

IOCB

Address
0x116
Reset
0x00
Access
read/write
  1. 7IOCB7
  2. 6IOCB6
  3. 5IOCB5
  4. 4IOCB4
  5. 3–
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
IOCB77
IOCB66
IOCB55
IOCB44

ANSELB

Address
0x186
Reset
0x30
Access
read/write
  1. 7–
  2. 6–
  3. 5ANSB5
  4. 4ANSB4
  5. 3–
  6. 2–
  7. 1–
  8. 0–
2 fields
FieldBitsWhat it does
ANSB55
ANSB44

PORTC I/O port C

PORTC

Address
0x07
Reset
x (not fixed at power-on)
Access
read/write
  1. 7RC7
  2. 6RC6
  3. 5RC5
  4. 4RC4
  5. 3RC3
  6. 2RC2
  7. 1RC1
  8. 0RC0
8 fields
FieldBitsWhat it does
RC77
RC66
RC55
RC44
RC33
RC22
RC11
RC00

TRISC

Address
0x87
Reset
0xFF
Access
read/write
  1. 7TRISC7
  2. 6TRISC6
  3. 5TRISC5
  4. 4TRISC4
  5. 3TRISC3
  6. 2TRISC2
  7. 1TRISC1
  8. 0TRISC0
8 fields
FieldBitsWhat it does
TRISC77
TRISC66
TRISC55
TRISC44
TRISC33
TRISC22
TRISC11
TRISC00

ANSELC

Address
0x187
Reset
0xCF
Access
read/write
  1. 7ANSC7
  2. 6ANSC6
  3. 5–
  4. 4–
  5. 3ANSC3
  6. 2ANSC2
  7. 1ANSC1
  8. 0ANSC0
6 fields
FieldBitsWhat it does
ANSC77
ANSC66
ANSC33
ANSC22
ANSC11
ANSC00

INTERRUPT Interrupts

INTCON

Address
0x0B
Reset
x (not fixed at power-on)
Access
read/write
  1. 7GIE
  2. 6PEIE
  3. 5TMR0IE
  4. 4INTE
  5. 3RABIE
  6. 2TMR0IF
  7. 1INTF
  8. 0RABIF
8 fields
FieldBitsWhat it does
GIE7
PEIE6
TMR0IE5
INTE4
RABIE3
TMR0IF2
INTF1
RABIF0

PIR1

Address
0x0C
Reset
0x00
Access
read/write
  1. 7TMR1GIF
  2. 6ADIF
  3. 5RCIF
  4. 4TXIF
  5. 3SSPIF
  6. 2CCP1IF
  7. 1TMR2IF
  8. 0TMR1IF
8 fields
FieldBitsWhat it does
TMR1GIF7
ADIF6
RCIF5
TXIF4
SSPIF3
CCP1IF2
TMR2IF1
TMR1IF0

PIE1

Address
0x8C
Reset
0x00
Access
read/write
  1. 7TMR1GIE
  2. 6ADIE
  3. 5RCIE
  4. 4TXIE
  5. 3SSPIE
  6. 2CCP1IE
  7. 1TMR2IE
  8. 0TMR1IE
8 fields
FieldBitsWhat it does
TMR1GIE7
ADIE6
RCIE5
TXIE4
SSPIE3
CCP1IE2
TMR2IE1
TMR1IE0

TMR1 Timer1

TMR1L

Address
0x0E
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

TMR1H

Address
0x0F
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

T1CON

Address
0x10
Reset
0x00
Access
read/write
  1. 7TMR1CS1
  2. 6TMR1CS0
  3. 5T1CKPS1
  4. 4T1CKPS0
  5. 3–
  6. 2T1SYNC
  7. 1–
  8. 0TMR1ON
4 fields
FieldBitsWhat it does
TMR1CS7:6
T1CKPS5:4
T1SYNC2
TMR1ON0

T1GCON

Address
0x8F
Reset
x (not fixed at power-on)
Access
read/write
  1. 7TMR1GE
  2. 6T1GPOL
  3. 5T1GTM
  4. 4T1GSPM
  5. 3T1GGO_DONE
  6. 2T1GVAL
  7. 1T1GSS1
  8. 0T1GSS0
7 fields
FieldBitsWhat it does
TMR1GE7
T1GPOL6
T1GTM5
T1GSPM4
T1GGO_DONE3
T1GVAL2
T1GSS1:0

TMR2 Timer2

TMR2

Address
0x11
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

T2CON

Address
0x12
Reset
0x00
Access
read/write
  1. 7–
  2. 6TOUTPS3
  3. 5TOUTPS2
  4. 4TOUTPS1
  5. 3TOUTPS0
  6. 2TMR2ON
  7. 1T2CKPS1
  8. 0T2CKPS0
3 fields
FieldBitsWhat it does
TOUTPS6:3
TMR2ON2
T2CKPS1:0

PR2

Address
0x92
Reset
0xFF
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

MSSP Master synchronous serial port (SPI, I²C)

SSPBUF

Address
0x13
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SSPCON

Address
0x14
Reset
0x00
Access
read/write
  1. 7WCOL
  2. 6SSPOV
  3. 5SSPEN
  4. 4CKP
  5. 3SSPM3
  6. 2SSPM2
  7. 1SSPM1
  8. 0SSPM0
5 fields
FieldBitsWhat it does
WCOL7
SSPOV6
SSPEN5
CKP4
SSPM3:0

SSPADD

Address
0x93
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

SSPMSK

Address
0x93
Reset
0xFF
Access
read/write
  1. 7MSK7
  2. 6MSK6
  3. 5MSK5
  4. 4MSK4
  5. 3MSK3
  6. 2MSK2
  7. 1MSK1
  8. 0MSK0
1 field
FieldBitsWhat it does
MSK7:0

SSPSTAT

Address
0x94
Reset
0x00
Access
read/write
  1. 7SMP
  2. 6CKE
  3. 5D/nA
  4. 4P
  5. 3S
  6. 2R/nW
  7. 1UA
  8. 0BF
8 fields
FieldBitsWhat it does
SMP7
CKE6
D/nA5
P4
S3
R/nW2
UA1
BF0

CCP1 Capture/compare/PWM 1

CCPR1L

Address
0x15
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CCPR1H

Address
0x16
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

CCP1CON

Address
0x17
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5DC1
  4. 4B1
  5. 3CCP1M3
  6. 2CCP1M2
  7. 1CCP1M1
  8. 0CCP1M0
3 fields
FieldBitsWhat it does
DC15
B14
CCP1M3:0

EUSART USART

RCSTA

Address
0x18
Reset
x (not fixed at power-on)
Access
read/write
  1. 7SPEN
  2. 6RX9
  3. 5SREN
  4. 4CREN
  5. 3ADDEN
  6. 2FERR
  7. 1OERR
  8. 0RX9D
8 fields
FieldBitsWhat it does
SPEN7
RX96
SREN5
CREN4
ADDEN3
FERR2
OERR1
RX9D0

TXREG

Address
0x19
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

RCREG

Address
0x1A
Reset
0x00
Access
read only
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

TXSTA

Address
0x98
Reset
0x02
Access
read/write
  1. 7CSRC
  2. 6TX9
  3. 5TXEN
  4. 4SYNC
  5. 3–
  6. 2BRGH
  7. 1TRMT
  8. 0TX9D
7 fields
FieldBitsWhat it does
CSRC7
TX96
TXEN5
SYNC4
BRGH2
TRMT1
TX9D0

SPBRG

Address
0x99
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

ADC Analog-to-digital converter

ADRES

Address
0x1E
Reset
x (not fixed at power-on)
Access
read/write
  1. 7ADRES7
  2. 6ADRES6
  3. 5ADRES5
  4. 4ADRES4
  5. 3ADRES3
  6. 2ADRES2
  7. 1ADRES1
  8. 0ADRES0
1 field
FieldBitsWhat it does
ADRES7:0

ADCON0

Address
0x1F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5CHS3
  4. 4CHS2
  5. 3CHS1
  6. 2CHS0
  7. 1GO/nDONE
  8. 0ADON
3 fields
FieldBitsWhat it does
CHS5:2
GO/nDONE1
ADON0

ADCON1

Address
0x9F
Reset
0x00
Access
read/write
  1. 7–
  2. 6ADCS2
  3. 5ADCS1
  4. 4ADCS0
  5. 3–
  6. 2–
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
ADCS26
ADCS15
ADCS04

OSCILLATOR Oscillator, power control and watchdog

PCON

Address
0x8E
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1nPOR
  8. 0nBOR
2 fields
FieldBitsWhat it does
nPOR1
nBOR0

OSCCON

Address
0x90
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5IRCF1
  4. 4IRCF0
  5. 3ICSL
  6. 2ICSS
  7. 1–
  8. 0–
3 fields
FieldBitsWhat it does
IRCF5:4
ICSL3
ICSS2

OSCTUNE

Address
0x91
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5TUN5
  4. 4TUN4
  5. 3TUN3
  6. 2TUN2
  7. 1TUN1
  8. 0TUN0
1 field
FieldBitsWhat it does
TUN5:0

FVR Fixed voltage reference

FVRCON

Address
0x9D
Reset
x (not fixed at power-on)
Access
read/write
  1. 7FVRRDY
  2. 6FVREN
  3. 5TSEN
  4. 4TSRNG
  5. 3–
  6. 2–
  7. 1ADFVR1
  8. 0ADFVR0
6 fields
FieldBitsWhat it does
FVRRDY7
FVREN6
TSEN5
TSRNG4
ADFVR11
ADFVR00

NVM Data EEPROM and flash program memory

PMDATL

Address
0x10C
Reset
x (not fixed at power-on)
Access
read/write
  1. 7PMDATL7
  2. 6PMDATL6
  3. 5PMDATL5
  4. 4PMDATL4
  5. 3PMDATL3
  6. 2PMDATL2
  7. 1PMDATL1
  8. 0PMDATL0
1 field
FieldBitsWhat it does
PMDATL7:0

PMADRL

Address
0x10D
Reset
0x00
Access
read/write
  1. 7PMADRL7
  2. 6PMADRL6
  3. 5PMADRL5
  4. 4PMADRL4
  5. 3PMADRL3
  6. 2PMADRL2
  7. 1PMADRL1
  8. 0PMADRL0
1 field
FieldBitsWhat it does
PMADRL7:0

PMDATH

Address
0x10E
Reset
x (not fixed at power-on)
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–

PMADRH

Address
0x10F
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4PMADRH4
  5. 3PMADRH3
  6. 2PMADRH2
  7. 1PMADRH1
  8. 0PMADRH0
1 field
FieldBitsWhat it does
PMADRH4:0

PMCON1

Address
0x18C
Reset
0x80
Access
read/write
  1. 7–
  2. 6CFGS
  3. 5LWLO
  4. 4FREE
  5. 3–
  6. 2WREN
  7. 1WR
  8. 0RD
6 fields
FieldBitsWhat it does
CFGS6
LWLO5
FREE4
WREN2
WR1
RD0

PMCON2

Address
0x18D
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0–