Datasheet

Table Of Contents
PIC18FXX8
DS41159E-page 394 © 2006 Microchip Technology Inc.
RXBnSIDL (Receive Buffer n
Standard Identifier, Low Byte)........................... 212
RXERRCNT (Receive Error Count) .......................... 214
RXFnEIDH (Receive Acceptance Filter n
Extended Identifier, High Byte) ......................... 216
RXFnEIDL (Receive Acceptance Filter n
Extended Identifier, Low Byte) .......................... 216
RXFnSIDH (Receive Acceptance Filter n
Standard Identifier Filter, High Byte)................. 215
RXFnSIDL (Receive Acceptance Filter n
Standard Identifier Filter, Low Byte).................. 215
RXMnEIDH (Receive Acceptance Mask n
Extended Identifier Mask, High Byte)................ 217
RXMnEIDL (Receive Acceptance Mask n
Extended Identifier Mask, Low Byte) ................ 217
RXMnSIDH (Receive Acceptance Mask n
Standard Identifier Mask, High Byte) ................ 216
RXMnSIDL (Receive Acceptance Mask n
Standard Identifier Mask, Low Byte) ................. 217
SSPCON1 (MSSP Control 1, I
2
C Mode) .................. 154
SSPCON1 (MSSP Control 1, SPI Mode).................. 145
SSPCON2 (MSSP Control 2, I
2
C Mode) .................. 155
SSPSTAT (MSSP Status, I
2
C Mode)........................ 153
SSPSTAT (MSSP Status, SPI Mode) ....................... 144
Status .......................................................................... 57
STKPTR (Stack Pointer) ............................................. 39
T0CON (Timer0 Control)........................................... 109
T1CON (Timer1 Control)........................................... 113
T2CON (Timer2 Control)........................................... 117
T3CON (Timer3 Control)........................................... 119
TRISE (PORTE Direction/PSP Control).................... 105
TXBnCON (Transmit Buffer n Control) .....................206
TXBnDLC (Transmit Buffer n
Data Length Code)............................................ 209
TXBnDm (Transmit Buffer n
Data Field Byte m) ............................................ 208
TXBnEIDH (Transmit Buffer n
Extended Identifier, High Byte) ......................... 207
TXBnEIDL (Transmit Buffer n
Extended Identifier, Low Byte) .......................... 208
TXBnSIDH (Transmit Buffer n
Standard Identifier, High Byte)..........................207
TXBnSIDL (Transmit Buffer n
Standard Identifier, Low Byte)........................... 207
TXERRCNT (Transmit Error Count)..........................209
TXSTA (Transmit Status and Control) ...................... 183
WDTCON (Watchdog Timer Control)........................ 272
RESET .............................................................................. 311
Reset........................................................................... 25, 265
MCLR
Reset During Normal Operation ...................... 25
MCLR
Reset During Sleep..........................................25
Power-on Reset (POR) ............................................... 25
Programmable Brown-out Reset (PBOR) ................... 25
RESET Instruction ...................................................... 25
Stack Full Reset..........................................................25
Stack Underflow Reset ............................................... 25
Watchdog Timer (WDT) Reset.................................... 25
RETFIE .............................................................................312
RETLW.............................................................................. 312
RETURN ........................................................................... 313
Revision History ................................................................ 385
RLCF................................................................................. 313
RLNCF .............................................................................. 314
RRCF ................................................................................ 314
RRNCF.............................................................................. 315
S
SCI.
See
USART.
SCK Pin ............................................................................ 143
SDI Pin.............................................................................. 143
SDO Pin............................................................................ 143
Serial Clock (SCK) Pin...................................................... 143
Serial Communication Interface.
See
USART.
Serial Peripheral Interface.
See
SPI.
SETF................................................................................. 315
Slave Select (SS
) Pin ....................................................... 143
Slave Select, SS
Pin......................................................... 143
SLEEP .............................................................................. 316
Sleep......................................................................... 265, 274
Software Simulator (MPLAB SIM) .................................... 324
Software Simulator (MPLAB SIM30) ................................ 324
Special Event Trigger.
See
Compare.
Special Features of the CPU ............................................ 265
Configuration Bits ..................................................... 265
Configuration Bits and
Device IDs ........................................................ 265
Configuration Registers .................................... 266–271
Special Function Register Map........................................... 47
Special Function Registers................................................. 44
SPI Mode
Associated Registers................................................ 151
Bus Mode Compatibility............................................ 151
Effects of a Reset ..................................................... 151
Master Mode............................................................. 148
Master/Slave Connection.......................................... 147
Registers .................................................................. 144
Serial Clock............................................................... 143
Serial Data In (SDI) Pin ............................................ 143
Serial Data Out (SDO) Pin........................................ 143
Slave Select.............................................................. 143
Slave Select Synchronization ................................... 149
Sleep Operation........................................................ 151
SPI Clock .................................................................. 148
SSPBUF Register..................................................... 148
SSPSR Register ....................................................... 148
SSPOV ............................................................................. 173
SSPOV Status Flag .......................................................... 173
SSPSTAT Register
R/W
Bit ............................................................. 156, 157
SUBFWB .......................................................................... 316
SUBLW............................................................................. 317
SUBWF............................................................................. 317
SUBWFB .......................................................................... 318
SWAPF............................................................................. 318
T
Table Pointer Operations (table)......................................... 68
TBLRD .............................................................................. 319
TBLWT.............................................................................. 320
Timer0............................................................................... 109
16-bit Mode Timer Reads and Writes....................... 111
Associated Registers................................................ 111
Operation.................................................................. 111
Overflow Interrupt ..................................................... 111
Prescaler .................................................................. 111
Prescaler.
See
Prescaler, Timer0.
Switching Prescaler Assignment .............................. 111