English
Language : 

PIC18F1XK22 Datasheet, PDF (378/388 Pages) Microchip Technology – 20-Pin Flash Microcontrollers with nanoWatt XLP Technology
PIC18F1XK22/LF1XK22
I2C Mode (MSSP)
Acknowledge Sequence Timing................................ 170
Baud Rate Generator ................................................ 163
Bus Collision
During a Repeated Start Condition ................... 174
During a Stop Condition.................................... 176
Clock Arbitration........................................................ 164
Clock Stretching ........................................................ 156
10-Bit Slave Receive Mode (SEN = 1).............. 156
10-Bit Slave Transmit Mode.............................. 156
7-Bit Slave Receive Mode (SEN = 1)................ 156
7-Bit Slave Transmit Mode................................ 156
Clock Synchronization and the CKP bit (SEN = 1) ... 157
Effects of a Reset...................................................... 171
General Call Address Support .................................. 160
I2C Clock Rate w/BRG .............................................. 163
Master Mode ............................................................. 161
Operation .......................................................... 162
Reception.......................................................... 167
Repeated Start Condition Timing...................... 166
Start Condition Timing ...................................... 165
Transmission..................................................... 167
Multi-Master Communication, Bus Collision and
Arbitration.......................................................... 171
Multi-Master Mode .................................................... 171
Operation .................................................................. 148
Read/Write Bit Information (R/W Bit) ................ 148, 149
Registers ................................................................... 144
Serial Clock (RC3/SCK/SCL) .................................... 149
Slave Mode ............................................................... 148
Addressing ........................................................ 148
Reception.......................................................... 149
Transmission..................................................... 149
Sleep Operation ........................................................ 171
Stop Condition Timing............................................... 170
ID Locations .............................................................. 261, 276
INCF.................................................................................. 298
INCFSZ ............................................................................. 299
In-Circuit Debugger ........................................................... 276
In-Circuit Serial Programming (ICSP) ....................... 261, 276
Indexed Literal Offset Addressing
and Standard PIC18 Instructions .............................. 324
Indexed Literal Offset Mode .............................................. 324
Indirect Addressing ............................................................. 44
INFSNZ ............................................................................. 299
Initialization Conditions for all Registers ........................... 257
Instruction Cycle.................................................................. 31
Clocking Scheme ........................................................ 31
Instruction Flow/Pipelining .................................................. 31
Instruction Set ................................................................... 277
ADDLW ..................................................................... 283
ADDWF ..................................................................... 283
ADDWF (Indexed Literal Offset Mode) ..................... 325
ADDWFC .................................................................. 284
ANDLW ..................................................................... 284
ANDWF ..................................................................... 285
BC ............................................................................. 285
BCF ........................................................................... 286
BN ............................................................................. 286
BNC .......................................................................... 287
BNN .......................................................................... 287
BNOV ........................................................................ 288
BNZ ........................................................................... 288
BOV .......................................................................... 291
BRA........................................................................... 289
BSF........................................................................... 289
BSF (Indexed Literal Offset Mode) ........................... 325
BTFSC ...................................................................... 290
BTFSS ...................................................................... 290
BTG .......................................................................... 291
BZ ............................................................................. 292
CALL......................................................................... 292
CLRF ........................................................................ 293
CLRWDT .................................................................. 293
COMF ....................................................................... 294
CPFSEQ ................................................................... 294
CPFSGT ................................................................... 295
CPFSLT .................................................................... 295
DAW ......................................................................... 296
DCFSNZ ................................................................... 297
DECF ........................................................................ 296
DECFSZ ................................................................... 297
Extended Instruction Set .......................................... 319
General Format......................................................... 279
GOTO ....................................................................... 298
INCF ......................................................................... 298
INCFSZ..................................................................... 299
INFSNZ..................................................................... 299
IORLW ...................................................................... 300
IORWF...................................................................... 300
LFSR ........................................................................ 301
MOVF ....................................................................... 301
MOVFF ..................................................................... 302
MOVLB ..................................................................... 302
MOVLW .................................................................... 303
MOVWF .................................................................... 303
MULLW..................................................................... 304
MULWF..................................................................... 304
NEGF........................................................................ 305
NOP .......................................................................... 305
Opcode Field Descriptions........................................ 278
POP .......................................................................... 306
PUSH........................................................................ 306
RCALL ...................................................................... 307
RESET...................................................................... 307
RETFIE ..................................................................... 308
RETLW ..................................................................... 308
RETURN................................................................... 309
RLCF ........................................................................ 309
RLNCF...................................................................... 310
RRCF........................................................................ 310
RRNCF ..................................................................... 311
SETF ........................................................................ 311
SETF (Indexed Literal Offset Mode) ......................... 325
SLEEP ...................................................................... 312
SUBFWB .................................................................. 312
SUBLW ..................................................................... 313
SUBWF..................................................................... 313
SUBWFB .................................................................. 314
SWAPF ..................................................................... 314
TBLRD ...................................................................... 315
TBLWT ..................................................................... 316
TSTFSZ .................................................................... 317
XORLW .................................................................... 317
XORWF .................................................................... 318
INTCON Register................................................................ 67
INTCON Registers........................................................ 67–69
INTCON2 Register.............................................................. 68
INTCON3 Register.............................................................. 69
Inter-Integrated Circuit. See I2C.
DS41365D-page 378
Preliminary
 2010 Microchip Technology Inc.