English
Language : 

PIC18F6390 Datasheet, PDF (402/412 Pages) Microchip Technology – 64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
PIC18F6390/6490/8390/8490
I
I/O Ports ........................................................................... 109
I2C Mode (MSSP)
Acknowledge Sequence Timing ............................... 190
Associated Registers ............................................... 196
Baud Rate Generator ............................................... 183
Bus Collision
During a Repeated Start Condition .................. 194
During a Start Condition ................................... 192
During a Stop Condition ................................... 195
Clock Arbitration ....................................................... 184
Clock Stretching ....................................................... 176
10-Bit Slave Receive Mode (SEN = 1) ............. 176
7-Bit Slave Receive Mode (SEN = 1) ............... 176
Effect of a Reset ...................................................... 191
General Call Address Support ................................. 180
I2C Clock Rate w/BRG ............................................. 183
Master Mode ............................................................ 181
Operation ......................................................... 182
Reception ......................................................... 187
Repeated Start Condition Timing ..................... 186
Start Condition ................................................. 185
Transmission .................................................... 187
Transmit Sequence .......................................... 182
Multi-Master Communication, Bus Collision
and Arbitration .................................................. 191
Multi-Master Mode ................................................... 191
Operation ................................................................. 170
Read/Write Bit Information (R/W Bit) ............... 170, 171
Registers .................................................................. 166
Serial Clock (RC3/SCK/SCL) ................................... 171
Slave Mode .............................................................. 170
Addressing ....................................................... 170
Reception ......................................................... 171
Sleep Operation ....................................................... 191
Stop Condition Timing .............................................. 190
Transmission ............................................................ 171
ID Locations ............................................................. 281, 293
INCF ................................................................................. 316
INCFSZ ............................................................................ 317
In-Circuit Debugger .......................................................... 293
In-Circuit Serial Programming (ICSP) ...................... 281, 293
Indexed Literal Offset Addressing Mode .......................... 342
and Standard PIC18 Instructions ............................. 342
Indexed Literal Offset Mode ......................................... 84, 86
Indirect Addressing ............................................................ 82
INFSNZ ............................................................................ 317
Initialization Conditions for all Registers ...................... 59–64
Instruction Cycle ................................................................. 69
Clocking Scheme ....................................................... 69
Instruction Flow/Pipelining ................................................. 69
Instruction Set .................................................................. 295
ADDLW .................................................................... 301
ADDWF .................................................................... 301
ADDWF (Indexed Literal Offset mode) .................... 343
ADDWFC ................................................................. 302
ANDLW .................................................................... 302
ANDWF .................................................................... 303
BC ............................................................................ 303
BCF .......................................................................... 304
BN ............................................................................ 304
BNC ......................................................................... 305
BNN ......................................................................... 305
BNOV ....................................................................... 306
BNZ .......................................................................... 306
BOV ......................................................................... 309
BRA ......................................................................... 307
BSF .......................................................................... 307
BSF (Indexed Literal Offset mode) .......................... 343
BTFSC ..................................................................... 308
BTFSS ..................................................................... 308
BTG ......................................................................... 309
BZ ............................................................................ 310
CALL ........................................................................ 310
CLRF ....................................................................... 311
CLRWDT ................................................................. 311
COMF ...................................................................... 312
CPFSEQ .................................................................. 312
CPFSGT .................................................................. 313
CPFSLT ................................................................... 313
DAW ........................................................................ 314
DCFSNZ .................................................................. 315
DECF ....................................................................... 314
DECFSZ .................................................................. 315
Extended Instructions .............................................. 337
and Using MPLAB Tools ................................. 344
Considerations when Enabling ........................ 342
Syntax .............................................................. 337
General Format ........................................................ 297
GOTO ...................................................................... 316
INCF ........................................................................ 316
INCFSZ .................................................................... 317
INFSNZ .................................................................... 317
IORLW ..................................................................... 318
IORWF ..................................................................... 318
LFSR ....................................................................... 319
MOVF ...................................................................... 319
MOVFF .................................................................... 320
MOVLB .................................................................... 320
MOVLW ................................................................... 321
MOVWF ................................................................... 321
MULLW .................................................................... 322
MULWF .................................................................... 322
NEGF ....................................................................... 323
NOP ......................................................................... 323
POP ......................................................................... 324
PUSH ....................................................................... 324
RCALL ..................................................................... 325
RESET ..................................................................... 325
RETFIE .................................................................... 326
RETLW .................................................................... 326
RETURN .................................................................. 327
RLCF ....................................................................... 327
RLNCF ..................................................................... 328
RRCF ....................................................................... 328
RRNCF .................................................................... 329
SETF ....................................................................... 329
SETF (Indexed Literal Offset mode) ........................ 343
SLEEP ..................................................................... 330
Standard Instructions ............................................... 295
SUBFWB ................................................................. 330
SUBLW .................................................................... 331
SUBWF .................................................................... 331
SUBWFB ................................................................. 332
SWAPF .................................................................... 332
TBLRD ..................................................................... 333
TBLWT .................................................................... 334
TSTFSZ ................................................................... 335
XORLW ................................................................... 335
XORWF ................................................................... 336
Summary Table ....................................................... 298
DS39629B-page 400
Preliminary
 2004 Microchip Technology Inc.