Datasheet

2003-2013 Microchip Technology Inc. DS39609C-page 371
PIC18F6520/8520/6620/8620/6720/8720
Q
Q Clock ............................................................................154
R
RAM. See Data Memory
RC Oscillator ...................................................................... 22
RCALL .............................................................................289
RCON Registers ..............................................................101
RCSTA Register
SPEN Bit .................................................................. 197
Reader Response ............................................................ 376
Register File ....................................................................... 47
Registers
ADCON0 (A/D Control 0) .........................................213
ADCON1 (A/D Control 1) .........................................214
ADCON2 (A/D Control 2) .........................................215
CCPxCON (Capture/Compare/PWM Control) ......... 149
CMCON (Comparator Control) ................................ 223
CONFIG1H (Configuration 1 High) .......................... 240
CONFIG2H (Configuration 2 High) .......................... 241
CONFIG2L (Configuration 2 Low) ............................ 241
CONFIG3H (Configuration 3 High) .......................... 242
CONFIG3L (Configuration 3 Low) ............................ 242
CONFIG3L (Configuration Byte) ................................ 41
CONFIG4L (Configuration 4 Low) ............................ 243
CONFIG5H (Configuration 5 High) .......................... 245
CONFIG5L (Configuration 5 Low) ............................ 244
CONFIG6H (Configuration 6 High) .......................... 247
CONFIG6L (Configuration 6 Low) ............................ 246
CONFIG7H (Configuration 7 High) .......................... 249
CONFIG7L (Configuration 7 Low) ............................ 248
CVRCON (Comparator Voltage Reference Control) 229
Device ID 1 .............................................................. 249
Device ID 2 .............................................................. 249
EECON1 (Data EEPROM Control 1) ...................63, 80
INTCON (Interrupt Control) ........................................89
INTCON2 (Interrupt Control 2) ................................... 90
INTCON3 (Interrupt Control 3) ................................... 91
IPR1 (Peripheral Interrupt Priority 1) .......................... 98
IPR2 (Peripheral Interrupt Priority 2) .......................... 99
IPR3 (Peripheral Interrupt Priority 3) ........................ 100
LVDCON (Low-Voltage Detect Control) ................... 235
MEMCON (Memory Control) ......................................71
OSCCON ...................................................................25
PIE1 (Peripheral Interrupt Enable 1) .......................... 95
PIE2 (Peripheral Interrupt Enable 2) .......................... 96
PIE3 (Peripheral Interrupt Enable 3) .......................... 97
PIR1 (Peripheral Interrupt Request 1) ....................... 92
PIR2 (Peripheral Interrupt Request 2) ....................... 93
PIR3 (Peripheral Interrupt Request 3) ....................... 94
PSPCON (Parallel Slave Port Control) Register ...... 129
RCON ........................................................................ 31
RCON (Reset Control) .......................................60, 101
RCSTAx (Receive Status and Control) .................... 199
SSPCON2 (MSSP Control 2, I
2
C Mode) ................. 169
SSPSTAT (MSSP Status, I
2
C Mode) ....................... 167
SSPSTAT (MSSP Status, SPI Mode) ...................... 158
Statis .......................................................................... 59
STKPTR (Stack Pointer) ............................................ 43
Summary ..............................................................52–55
T1CON (Timer 1 Control) ......................................... 135
T3CON (Timer3 Control) ..........................................143
TXSTAx (Transmit Status and Control) ................... 198
WDTCON (Watchdog Timer Control) ...................... 250
RESET ............................................................................. 289
Reset .......................................................................... 29, 239
Brown-out Reset (BOR) ........................................... 239
MCLR
Reset .............................................................. 29
MCLR
Reset during Sleep ......................................... 29
Oscillator Start-up Timer (OST) ............................... 239
Power-on Reset (POR) ...................................... 29, 239
Power-up Timer (PWRT) ......................................... 239
Programmable Brown-out Reset (PBOR) .................. 29
Reset Instruction ........................................................ 29
Stack Full Reset ........................................................ 29
Stack Underflow Reset .............................................. 29
Watchdog Timer (WDT) Reset .................................. 29
Reset, Watchdog Timer, Oscillator Start-up Timer, Power-up
Timer and Brown-out Reset Requirements ............. 325
RETFIE ............................................................................ 290
RETLW ............................................................................ 290
RETURN .......................................................................... 291
Return Address Stack
and Associated Registers .......................................... 43
Revision History ............................................................... 361
RLCF ............................................................................... 291
RLNCF ............................................................................. 292
RRCF ............................................................................... 292
RRNCF ............................................................................ 293
S
SCI. See USART
SCK ................................................................................. 157
SDI ................................................................................... 157
SDO ................................................................................. 157
Serial Clock, SCK ............................................................ 157
Serial Communication Interface. See USART.
Serial Data In, SDI ........................................................... 157
Serial Data Out, SDO ...................................................... 157
Serial Peripheral Interface. See SPI
SETF ............................................................................... 293
Slave Select, SS
.............................................................. 157
SLEEP ............................................................................. 294
Sleep ....................................................................... 239, 252
Software Simulator (MPLAB SIM) ................................... 303
Special Event Trigger. See Compare
Special Features of the CPU ........................................... 239
Configuration Registers ................................... 240–249
Special Function Registers ................................................ 47
Map ............................................................................ 50
SPI
Serial Clock ............................................................. 157
Serial Data In ........................................................... 157
Serial Data Out ........................................................ 157
Slave Select ............................................................. 157
SPI Mode ................................................................. 157
SPI Master/Slave Connection .......................................... 161
SPI Module
Associated Registers ............................................... 165
Bus Mode Compatibility ........................................... 165
Effects of a Reset .................................................... 165
Master/Slave Connection ........................................ 161
Slave Mode .............................................................. 163
Sleep Operation ....................................................... 165
SS
.................................................................................... 157
SSP
TMR2 Output for Clock Shift ............................ 141, 142
TMR4 Output for Clock Shift .................................... 148
SSPOV Status Flag ......................................................... 187
SSPSTAT Register
R/W
Bit ............................................................ 170, 171
Status Bits
Significance and Initialization Condition for RCON Reg-