Datasheet

PIC18F/LF1XK50
DS41350E-page 410 Preliminary 2010 Microchip Technology Inc.
H
Hardware Multiplier ............................................................65
Introduction ................................................................65
Operation ...................................................................65
Performance Comparison ..........................................65
I
I/O Ports .............................................................................83
I
2
C
Associated Registers ...............................................180
I
2
C Mode (MSSP)
Acknowledge Sequence Timing ...............................174
Baud Rate Generator ...............................................167
Bus Collision
During a Repeated Start Condition ..................178
During a Stop Condition ...................................179
Clock Arbitration .......................................................168
Clock Stretching .......................................................160
10-Bit Slave Receive Mode (SEN = 1) ............. 160
10-Bit Slave Transmit Mode .............................160
7-Bit Slave Receive Mode (SEN = 1) ............... 160
7-Bit Slave Transmit Mode ...............................160
Clock Synchronization and the CKP bit (SEN = 1) ..161
Effects of a Reset .....................................................175
General Call Address Support .................................164
I
2
C Clock Rate w/BRG .............................................167
Master Mode ............................................................165
Operation .........................................................166
Reception .........................................................171
Repeated Start Condition Timing .....................170
Start Condition Timing .....................................169
Transmission ....................................................171
Multi-Master Communication, Bus Collision and Arbitra-
tion ...................................................................175
Multi-Master Mode ...................................................175
Operation .................................................................152
Read/Write Bit Information (R/W
Bit) ...............152, 153
Registers ..................................................................148
Serial Clock (RC3/SCK/SCL) ...................................153
Slave Mode ..............................................................152
Addressing .......................................................152
Reception .........................................................153
Transmission ....................................................153
Sleep Operation .......................................................175
Stop Condition Timing ..............................................174
ID Locations .............................................................291, 307
INCF .................................................................................330
INCFSZ ............................................................................331
In-Circuit Debugger ..........................................................307
In-Circuit Serial Programming (ICSP) ......................291, 307
Indexed Literal Offset Addressing
and Standard PIC18 Instructions .............................356
Indexed Literal Offset Mode .............................................356
Indirect Addressing ............................................................47
INFSNZ ............................................................................331
Initialization Conditions for all Registers ..................285–289
Instruction Cycle .................................................................33
Clocking Scheme .......................................................33
Instruction Flow/Pipelining .................................................33
Instruction Set ..................................................................309
ADDLW ....................................................................315
ADDWF ....................................................................315
ADDWF (Indexed Literal Offset Mode) ....................357
ADDWFC .................................................................316
ANDLW ....................................................................316
ANDWF .................................................................... 317
BC ............................................................................ 317
BCF ......................................................................... 318
BN ............................................................................ 318
BNC ......................................................................... 319
BNN ......................................................................... 319
BNOV ...................................................................... 320
BNZ ......................................................................... 320
BOV ......................................................................... 323
BRA ......................................................................... 321
BSF .......................................................................... 321
BSF (Indexed Literal Offset Mode) .......................... 357
BTFSC ..................................................................... 322
BTFSS ..................................................................... 322
BTG ......................................................................... 323
BZ ............................................................................ 324
CALL ........................................................................ 324
CLRF ....................................................................... 325
CLRWDT ................................................................. 325
COMF ...................................................................... 326
CPFSEQ .................................................................. 326
CPFSGT .................................................................. 327
CPFSLT ................................................................... 327
DAW ........................................................................ 328
DCFSNZ .................................................................. 329
DECF ....................................................................... 328
DECFSZ .................................................................. 329
Extended Instruction Set ......................................... 351
General Format ........................................................ 311
GOTO ...................................................................... 330
INCF ........................................................................ 330
INCFSZ .................................................................... 331
INFSNZ .................................................................... 331
IORLW ..................................................................... 332
IORWF ..................................................................... 332
LFSR ....................................................................... 333
MOVF ...................................................................... 333
MOVFF .................................................................... 334
MOVLB .................................................................... 334
MOVLW ................................................................... 335
MOVWF ................................................................... 335
MULLW .................................................................... 336
MULWF .................................................................... 336
NEGF ....................................................................... 337
NOP ......................................................................... 337
Opcode Field Descriptions ....................................... 310
POP ......................................................................... 338
PUSH ....................................................................... 338
RCALL ..................................................................... 339
RESET ..................................................................... 339
RETFIE .................................................................... 340
RETLW .................................................................... 340
RETURN .................................................................. 341
RLCF ....................................................................... 341
RLNCF ..................................................................... 342
RRCF ....................................................................... 342
RRNCF .................................................................... 343
SETF ....................................................................... 343
SETF (Indexed Literal Offset Mode) ........................ 357
SLEEP ..................................................................... 344
SUBFWB ................................................................. 344
SUBLW .................................................................... 345
SUBWF .................................................................... 345
SUBWFB ................................................................. 346
SWAPF .................................................................... 346