2010-2012 Microchip Technology Inc. DS41412F- page 553
PIC18(L)F2X/4XK22
INTCON2 (Interrupt Contr ol 2) .................................117
INTCON3 (Interrupt Contr ol 3) .................................118
IPR1 (Peripheral Interrupt Priority 1) ........................128
IPR2 (Peripheral Interrupt Priority 2) ........................129
IPR3 (Peripheral Interrupt Priority) ...........................130
IPR4 (Peripheral Interrupt Priority) ...........................131
IPR5 (Peripheral Interrupt Priority) ...........................131
OSCCON (Oscillator Control) ..............................32, 33
OSCTUNE (Oscillator Tu n in g ) ...... ..................... ........37
PIE1 (Peripheral Interrupt Enable 1) ........................124
PIE2 (Peripheral Interrupt Enable 2) ........................125
PIE3 (Peripheral Interrupt Enable] ...........................126
PIE4 (Peripheral Interrupt Enable) ...........................127
PIE5 (Peripheral Interrupt Enable) ...........................127
PIR1 (Peripheral Interrupt Request 1) .....................119
PIR2 (Peripheral Interrupt Request 2) .....................120
PSTRxCON (PWM Steering Contr ol) ........ ..............210
PWMxCON (Enhanc ed PWM Contro l) ....................210
RCON (Reset Contr o l) ................................ .......60, 131
RCSTA (Receive Status and Control) ......................278
SLRCON (PORT Slew Rate Control) .......................158
SRCO N 0 ( SR Lat c h C o n trol 0) ........ ...... ......... ...... ...3 4 0
SRCO N 1 ( SR Lat c h C o n trol 1) ........ ...... ......... ...... ...3 4 1
SSPxADD (MSSPx Address and Baud Rate,
I2C Mode) ........................................................265
SSPxCON1 (MSSP x Control 1) ........ ..................... ..260
SSPxCON2 (SSPx Control 2) .......................... ........262
SSPxMS K (S SPx Mask) ................... .......... .............264
SSPxSTA T (SSPx Stat u s) .................. ............... ......259
STATUS .....................................................................89
STKPTR (St a ck Poin ter) ............................................72
T0CON (Timer0 Co n tr o l) ........ ........... ..................... ..159
TxCON ..................................................................... 177
TxCON (Timer1/3/5 Control) ................. ...................172
TxGCON (Timer1/ 3 /5 Gate Cont rol) ........................173
TXSTA (Transmit Status and Control) .....................277
VREFCON0 .............................................................344
VREFCON1 .............................................................347
VREFCON2 .............................................................348
WDTCON (Watchdog Tim er Contro l) ......................367
RESET ............................................................................. 403
Reset St a te of Registe rs ....................................................67
Resets .............................................................................. 355
Brown-out Reset (BOR) ...........................................355
Oscillator Start-up Timer (OST) ...............................355
Power-on Res e t (POR) ........ ....................................355
Power-up Timer (PWRT) .......... .......... .....................355
RETFIE ............................................................................404
RETLW ............................................................................404
RETURN .......................................................................... 405
Return Ad d ress Sta ck ............................. ............... .......... ..70
Return Stack Pointer (STKP TR) ........................................71
Revision History ...............................................................545
RLCF ................................................................................405
RLNCF ............................................................................. 406
RRCF ............................................................................... 406
RRNCF ............................................................................407
S
SEC_IDLE Mod e ................................................................52
SEC_RUN Mode ................................................................48
SETF ................................................................................407
Shoot-through Current .....................................................199
Single-Supply ICSP Programming.
SLEEP .............................................................................408
Sleep
OSC1 and OSC2 Pin States ...................................... 41
Sleep Mode ....................................................................... 51
Slew Rate ........................................................................ 153
SLRCON Register ........................................................... 158
Software Simulator (MPLAB SIM) ................................... 425
SPBRG ............................................................................ 280
SPBRGH ......................................................................... 280
Special Event Trigger ...................................................... 302
Special Function Registers ................................................ 82
Map ............................................................................ 83
SPI Mode (MSS Px)
Associated Registers ............................................... 221
SPI Clock ................................................................. 217
SR Latch
Associated Registers ............................................... 341
Effects of a Reset ...................................... .............. 337
SRCON0 Register ........................................................... 340
SRCON1 Register ........................................................... 341
SSPxADD Register .......................................................... 265
SSPxCON1 Register ....................................................... 260
SSPxCON2 Register ....................................................... 262
SSPxMS K Register ...... ................... .......... ........... ............ 264
SSPxOV .......................................................................... 248
SSPxOV Status Flag ....................................................... 248
SSPxSTAT Register ..................... ..................... .............. 259
R/W Bit .................................................................... 227
Stack Full/Underflow Resets .................................... .... ...... 72
Standard Instructions ....................................................... 373
STATUS Regi ster ........ .......... ........... ................................. 89
STKPTR Register ........ ...................................................... 72
SUBFSR .......................................................................... 419
SUBFWB ......................................................................... 408
SUBLW ............................................................................ 409
SUBULNK ........................................................................ 419
SUBWF ............................................................................ 409
SUBWFB ......................................................................... 410
SWAPF ............................................................................ 410
T
T0CON Registe r ...... ............................... ....... .......... ........ 159
Table Pointer Operations (table) ........................................ 98
Table Reads/Table Writes ................ .. .... .. .. ....... .. .... .. .. .... .. 73
TBLRD ............................................................................. 411
TBLWT ............................................................................ 412
Time-o u t in Various Situ a tions (tab l e ) ..... ........... ................ 64
Timer0 ............................................................................. 159
Associated Registers ............................................... 161
Operation ................................................................. 160
Overflow In terrupt ...... .......................................... .... 161
Prescaler ................................................................. 161
Prescaler Assignment (PSA Bit) .............................. 161
Presca le r Select (T 0 PS 2 :T0 PS0 Bi ts) ..................... 161
Prescaler. See Prescaler, Timer0.
Reads and Writes in 16-Bit Mode ............................ 160
Source Edge Select (T0SE Bit) ............................... 160
Source Select (T0CS Bit) ........................................ 160
Swit ch i n g Pre scal e r A ssignment ... .. ..... .. ...... ...... .. ... 16 1
Timer1/3/5 ....................................................................... 163
Associ a te d registers ...... .......................................... 174
Asynchronous Counter Mode .................................. 165
Reading and Writing ........................................ 165
Clock Source Selection ........................................... 164
Interrupt ................................................................... 168
Operation ................................................................. 164
Operation During Sleep ... ........................................ 168
Oscillator .................................................................. 165