PIC16C717 registers

All 46 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
0x00
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. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 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. 7nRBPU
  2. 6INTEDG
  3. 5T0CS
  4. 4T0SE
  5. 3PSA
  6. 2PS2
  7. 1PS1
  8. 0PS0
6 fields
FieldBitsWhat it does
nRBPU7
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. 7RA7
  2. 6RA6
  3. 5RA5
  4. 4RA4
  5. 3RA3
  6. 2RA2
  7. 1RA1
  8. 0RA0
8 fields
FieldBitsWhat it does
RA77
RA66
RA55
RA44
RA33
RA22
RA11
RA00

TRISA

Address
0x85
Reset
0xFF
Access
read/write
  1. 7TRISA7
  2. 6TRISA6
  3. 5TRISA5
  4. 4TRISA4
  5. 3TRISA3
  6. 2TRISA2
  7. 1TRISA1
  8. 0TRISA0
8 fields
FieldBitsWhat it does
TRISA77
TRISA66
TRISA55
TRISA44
TRISA33
TRISA22
TRISA11
TRISA00

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. 3RB3
  6. 2RB2
  7. 1RB1
  8. 0RB0
8 fields
FieldBitsWhat it does
RB77
RB66
RB55
RB44
RB33
RB22
RB11
RB00

TRISB

Address
0x86
Reset
0xFF
Access
read/write
  1. 7TRISB7
  2. 6TRISB6
  3. 5TRISB5
  4. 4TRISB4
  5. 3TRISB3
  6. 2TRISB2
  7. 1TRISB1
  8. 0TRISB0
8 fields
FieldBitsWhat it does
TRISB77
TRISB66
TRISB55
TRISB44
TRISB33
TRISB22
TRISB11
TRISB00

WPUB

Address
0x95
Reset
0xFF
Access
read/write
  1. 7WPUB7
  2. 6WPUB6
  3. 5WPUB5
  4. 4WPUB4
  5. 3WPUB3
  6. 2WPUB2
  7. 1WPUB1
  8. 0WPUB0
8 fields
FieldBitsWhat it does
WPUB77
WPUB66
WPUB55
WPUB44
WPUB33
WPUB22
WPUB11
WPUB00

IOCB

Address
0x96
Reset
0xF0
Access
read/write
  1. 7IOCB7
  2. 6IOCB6
  3. 5IOCB5
  4. 4IOCB4
  5. 3IOCB3
  6. 2IOCB2
  7. 1IOCB1
  8. 0IOCB0
8 fields
FieldBitsWhat it does
IOCB77
IOCB66
IOCB55
IOCB44
IOCB33
IOCB22
IOCB11
IOCB00

INTERRUPT Interrupts

INTCON

Address
0x0B
Reset
x (not fixed at power-on)
Access
read/write
  1. 7GIE
  2. 6PEIE
  3. 5T0IE
  4. 4INTE
  5. 3RBIE
  6. 2T0IF
  7. 1INTF
  8. 0RBIF
8 fields
FieldBitsWhat it does
GIE7
PEIE6
T0IE5
INTE4
RBIE3
T0IF2
INTF1
RBIF0

PIR1

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

PIR2

Address
0x0D
Reset
0x00
Access
read/write
  1. 7LVDIF
  2. 6–
  3. 5–
  4. 4–
  5. 3BCLIF
  6. 2–
  7. 1–
  8. 0–
2 fields
FieldBitsWhat it does
LVDIF7
BCLIF3

PIE1

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

PIE2

Address
0x8D
Reset
0x00
Access
read/write
  1. 7LVDIE
  2. 6–
  3. 5–
  4. 4–
  5. 3BCLIE
  6. 2–
  7. 1–
  8. 0–
2 fields
FieldBitsWhat it does
LVDIE7
BCLIE3

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. 7–
  2. 6–
  3. 5T1CKPS1
  4. 4T1CKPS0
  5. 3T1OSCEN
  6. 2nT1SYNC
  7. 1TMR1CS
  8. 0TMR1ON
5 fields
FieldBitsWhat it does
T1CKPS5:4
T1OSCEN3
nT1SYNC2
TMR1CS1
TMR1ON0

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

SSPCON2

Address
0x91
Reset
0x00
Access
read/write
  1. 7GCEN
  2. 6ACKSTAT
  3. 5ACKDT
  4. 4ACKEN
  5. 3RCEN
  6. 2PEN
  7. 1RSEN
  8. 0SEN
8 fields
FieldBitsWhat it does
GCEN7
ACKSTAT6
ACKDT5
ACKEN4
RCEN3
PEN2
RSEN1
SEN0

SSPADD

Address
0x93
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 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. 7PWM1M1
  2. 6PWM1M0
  3. 5DC1B1
  4. 4DC1B0
  5. 3CCP1M3
  6. 2CCP1M2
  7. 1CCP1M1
  8. 0CCP1M0
3 fields
FieldBitsWhat it does
PWM1M7:6
DC1B5:4
CCP1M3:0

ADC Analog-to-digital converter

ADRESH

Address
0x1E
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–

ADCON0

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

ANSEL

Address
0x9D
Reset
0x3F
Access
read/write
  1. 7–
  2. 6–
  3. 5ANS5
  4. 4ANS4
  5. 3ANS3
  6. 2ANS2
  7. 1ANS1
  8. 0ANS0
6 fields
FieldBitsWhat it does
ANS55
ANS44
ANS33
ANS22
ANS11
ANS00

ADRESL

Address
0x9E
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–

ADCON1

Address
0x9F
Reset
0x00
Access
read/write
  1. 7ADFM
  2. 6VCFG2
  3. 5VCFG1
  4. 4VCFG0
  5. 3–
  6. 2–
  7. 1–
  8. 0–
2 fields
FieldBitsWhat it does
ADFM7
VCFG6:4

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. 3OSCF
  6. 2–
  7. 1nPOR
  8. 0nBOR
3 fields
FieldBitsWhat it does
OSCF3
nPOR1
nBOR0

REFCON

Address
0x9B
Reset
0x00
Access
read/write
  1. 7VRHEN
  2. 6VRLEN
  3. 5VRHOEN
  4. 4VRLOEN
  5. 3–
  6. 2–
  7. 1–
  8. 0–
4 fields
FieldBitsWhat it does
VRHEN7
VRLEN6
VRHOEN5
VRLOEN4

LVDCON

Address
0x9C
Reset
0x05
Access
read/write
  1. 7–
  2. 6–
  3. 5BGST
  4. 4LVDEN
  5. 3LV3
  6. 2LV2
  7. 1LV1
  8. 0LV0
3 fields
FieldBitsWhat it does
BGST5
LVDEN4
LV3:0

SFR Other special function registers

P1DEL

Address
0x97
Reset
0x00
Access
read/write
  1. 7P1DEL7
  2. 6P1DEL6
  3. 5P1DEL5
  4. 4P1DEL4
  5. 3P1DEL3
  6. 2P1DEL2
  7. 1P1DEL1
  8. 0P1DEL0
1 field
FieldBitsWhat it does
P1DEL7:0

NVM Data EEPROM and flash program memory

PMDATL

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

PMADRL

Address
0x10D
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–

PMDATH

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

PMADRH

Address
0x10F
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–

PMCON1

Address
0x18C
Reset
0x80
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0RD
1 field
FieldBitsWhat it does
RD0