Datasheet
2003-2013 Microchip Technology Inc. DS30498D-page 271
PIC16F7X7
PORTC ......................................................................... 10, 13
Associated Registers .................................................. 66
PORTC Register.........................................................65
RC3/SCK/SCL Pin .................................................... 107
RC6/TX/CK Pin.........................................................134
RC7/RX/DT Pin................................................. 134, 135
TRISC Register...................................................65, 133
PORTC Register................................................................. 65
PORTD ............................................................................... 14
Associated Registers .................................................. 67
Parallel Slave Port (PSP) Function............................. 67
PORTD Register.........................................................67
TRISD Register........................................................... 67
PORTD Register................................................................. 67
PORTE................................................................................ 14
Analog Port Pins ......................................................... 68
Associated Registers .................................................. 68
Input Buffer Full Status (IBF Bit) ................................. 69
Input Buffer Overflow (IBOV Bit)................................. 69
PORTE Register .........................................................68
PSP Mode Select (PSPMODE Bit) ....................... 67, 68
RE0/RD
/AN5 Pin.........................................................68
RE1/WR
/AN6 Pin........................................................68
RE2/CS
/AN7 Pin......................................................... 68
TRISE Register........................................................... 68
PORTE Register .................................................................68
Postscaler, WDT
Assignment (PSA Bit) ................................................. 22
Rate Select (PS2:PS0 Bits) ........................................22
Power-Down Mode (Sleep)............................................... 190
Power-Down Mode. See Sleep.
Power-Managed Modes...................................................... 41
RC_RUN..................................................................... 41
SEC_RUN...................................................................42
SEC_RUN/RC_RUN to Primary Clock Source........... 43
Power-on Reset (POR) ..................... 169, 172, 173, 179, 180
POR Status (POR
Bit).................................................28
Power Control/Status (PCON) Register....................178
Power-Down (PD
Bit)................................................ 172
Time-out (TO
Bit) ................................................ 21, 172
Power-up Timer (PWRT) .......................................... 169, 173
PR2 Register.......................................................................85
Prescaler, Timer0
Assignment (PSA Bit) ................................................. 22
Rate Select (PS2:PS0 Bits) ........................................22
Program Counter
Reset Conditions....................................................... 179
Program Memory
Flash
Associated Registers.......................................... 32
Interrupt Vector ...........................................................15
Memory and Stack Maps ............................................ 15
Operation During Code-Protect ..................................32
Organization................................................................ 15
Paging.........................................................................29
PMADR Register.........................................................31
PMADRH Register......................................................31
Reading.......................................................................31
Reading Flash............................................................. 32
Reading, PMADR Register ......................................... 31
Reading, PMADRH Register....................................... 31
Reading, PMCON1 Register....................................... 31
Reading, PMDATA Register ....................................... 31
Reading, PMDATH Register....................................... 31
Reset Vector ............................................................... 15
Program Verification ......................................................... 192
Programming, Device Instructions.................................... 193
PUSH.................................................................................. 29
R
RA0/AN0 Pin .................................................................. 8, 11
RA1/AN1 Pin .................................................................. 8, 11
RA2/AN2/V
REF-/CVREF Pin ............................................ 8, 11
RA3/AN3/V
REF+ Pin ....................................................... 8, 11
RA4/T0CKI/C1OUT Pin .................................................. 8, 11
RA5/AN4/LVDIN/SS
/C2OUT Pin .................................... 8, 11
RAM. See Data Memory.
RB0/INT/AN12 Pin.......................................................... 9, 12
RB1/AN10 Pin ................................................................ 9, 12
RB2/AN8 Pin .................................................................. 9, 12
RB3/CCP2/AN9 Pin........................................................ 9, 12
RB4/AN11 Pin ................................................................ 9, 12
RB5/AN13/CCP3 Pin...................................................... 9, 12
RB6/PGC Pin.................................................................. 9, 12
RB7/PGD Pin.................................................................. 9, 12
RC0/T1OSO/T1CKI Pin................................................ 10, 13
RC1/T1OSI/CCP2 Pin .................................................. 10, 13
RC2/CCP1 Pin.............................................................. 10, 13
RC3/SCK/SCL Pin........................................................ 10, 13
RC4/SDI/SDA Pin......................................................... 10, 13
RC5/SDO Pin................................................................ 10, 13
RC6/TX/CK Pin............................................................. 10, 13
RC7/RX/DT Pin............................................................. 10, 13
RCIO Oscillator................................................................... 35
RCSTA Register
ADDEN Bit................................................................ 134
CREN Bit .................................................................. 134
FERR Bit................................................................... 134
OERR Bit.................................................................. 134
RX9 Bit ..................................................................... 134
RX9D Bit................................................................... 134
SPEN Bit........................................................... 133, 134
SREN Bit .................................................................. 134
RD0/PSP0 Pin .................................................................... 14
RD1/PSP1 Pin .................................................................... 14
RD2/PSP2 Pin .................................................................... 14
RD3/PSP3 Pin .................................................................... 14
RD4/PSP4 Pin .................................................................... 14
RD5/PSP5 Pin .................................................................... 14
RD6/PSP6 Pin .................................................................... 14
RD7/PSP7 Pin .................................................................... 14
RE0/RD
/AN5 Pin ................................................................ 14
RE1/WR
/AN6 Pin................................................................ 14
RE2/CS
/AN7 Pin................................................................. 14
Reader Response............................................................. 276
Register File........................................................................ 15
Registers
ADCON0 (A/D Control 0).......................................... 152
ADCON1 (A/D Control 1).......................................... 153
ADCON2 (A/D Control 2).......................................... 154
CCPxCON (CCPx Control)......................................... 88
CMCON (Comparator Control)................................. 161
CVRCON (Comparator Voltage
Reference Control)........................................... 167
Initialization Conditions (table).......................... 180–181
INTCON (Interrupt Control) ........................................ 23
LVDCON (Low-Voltage Detect Control) ................... 176
OPTION_REG (Option Control) ........................... 22, 75
OSCCON (Oscillator Control)..................................... 38
OSCTUNE (Oscillator Tuning).................................... 36
PCON (Power Control/Status).................................... 28