English
Language : 

PIC18F2455_07 Datasheet, PDF (418/430 Pages) Microchip Technology – 28/40/44-Pin, High Performance, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
PIC18F2455/2550/4455/4550
High/Low-Voltage Detect ................................................. 279
Applications .............................................................. 282
Associated Registers ............................................... 283
Characteristics ......................................................... 377
Current Consumption ............................................... 281
Effects of a Reset ..................................................... 283
Operation ................................................................. 280
During Sleep .................................................... 283
Setup ........................................................................ 281
Start-up Time ........................................................... 281
Typical Application ................................................... 282
HLVD. See High/Low-Voltage Detect.
I
I/O Ports ........................................................................... 111
I2C Mode (MSSP)
Acknowledge Sequence Timing ............................... 230
Associated Registers ............................................... 236
Baud Rate Generator ............................................... 223
Bus Collision
During a Repeated Start Condition .................. 234
During a Stop Condition ................................... 235
Clock Arbitration ....................................................... 224
Clock Stretching ....................................................... 216
10-Bit Slave Receive Mode (SEN = 1) ............. 216
10-Bit Slave Transmit Mode ............................. 216
7-Bit Slave Receive Mode (SEN = 1) ............... 216
7-Bit Slave Transmit Mode ............................... 216
Clock Synchronization and the CKP Bit ................... 217
Effect of a Reset ...................................................... 231
General Call Address Support ................................. 220
I2C Clock Rate w/BRG ............................................. 223
Master Mode ............................................................ 221
Operation ......................................................... 222
Reception ......................................................... 227
Repeated Start Condition Timing ..................... 226
Start Condition Timing ..................................... 225
Transmission .................................................... 227
Transmit Sequence .......................................... 222
Multi-Master Communication, Bus Collision
and Arbitration .................................................. 231
Multi-Master Mode ................................................... 231
Operation ................................................................. 207
Read/Write Bit Information (R/W Bit) ............... 207, 209
Registers .................................................................. 202
Serial Clock (RB1/AN10/INT1/SCK/SCL) ................ 209
Slave Mode .............................................................. 207
Addressing ....................................................... 207
Addressing Masking ......................................... 208
Reception ......................................................... 209
Transmission .................................................... 209
Sleep Operation ....................................................... 231
Stop Condition Timing .............................................. 230
ID Locations ............................................................. 285, 305
Idle Modes .......................................................................... 39
INCF ................................................................................. 328
INCFSZ ............................................................................ 329
In-Circuit Debugger .......................................................... 305
In-Circuit Serial Programming (ICSP) ...................... 285, 305
Indexed Literal Offset Addressing
and Standard PIC18 Instructions ............................. 354
Indexed Literal Offset Mode ................................. 75, 77, 354
Indirect Addressing ............................................................ 73
INFSNZ ............................................................................ 329
Initialization Conditions for all Registers ...................... 51–55
Instruction Cycle ................................................................ 61
Clocking Scheme ....................................................... 61
Flow/Pipelining ........................................................... 61
Instruction Set .................................................................. 307
ADDLW .................................................................... 313
ADDWF .................................................................... 313
ADDWF (Indexed Literal Offset mode) .................... 355
ADDWFC ................................................................. 314
ANDLW .................................................................... 314
ANDWF .................................................................... 315
BC ............................................................................ 315
BCF ......................................................................... 316
BN ............................................................................ 316
BNC ......................................................................... 317
BNN ......................................................................... 317
BNOV ...................................................................... 318
BNZ ......................................................................... 318
BOV ......................................................................... 321
BRA ......................................................................... 319
BSF .......................................................................... 319
BSF (Indexed Literal Offset mode) .......................... 355
BTFSC ..................................................................... 320
BTFSS ..................................................................... 320
BTG ......................................................................... 321
BZ ............................................................................ 322
CALL ........................................................................ 322
CLRF ....................................................................... 323
CLRWDT ................................................................. 323
COMF ...................................................................... 324
CPFSEQ .................................................................. 324
CPFSGT .................................................................. 325
CPFSLT ................................................................... 325
DAW ........................................................................ 326
DCFSNZ .................................................................. 327
DECF ....................................................................... 326
DECFSZ .................................................................. 327
General Format ........................................................ 309
GOTO ...................................................................... 328
INCF ........................................................................ 328
INCFSZ .................................................................... 329
INFSNZ .................................................................... 329
IORLW ..................................................................... 330
IORWF ..................................................................... 330
LFSR ....................................................................... 331
MOVF ...................................................................... 331
MOVFF .................................................................... 332
MOVLB .................................................................... 332
MOVLW ................................................................... 333
MOVWF ................................................................... 333
MULLW .................................................................... 334
MULWF .................................................................... 334
NEGF ....................................................................... 335
NOP ......................................................................... 335
Opcode Field Descriptions ....................................... 308
POP ......................................................................... 336
PUSH ....................................................................... 336
RCALL ..................................................................... 337
RESET ..................................................................... 337
RETFIE .................................................................... 338
RETLW .................................................................... 338
RETURN .................................................................. 339
RLCF ....................................................................... 339
RLNCF ..................................................................... 340
RRCF ....................................................................... 340
RRNCF .................................................................... 341
DS39632D-page 416
Preliminary
© 2007 Microchip Technology Inc.