English
Language : 

PIC18F2331_07 Datasheet, PDF (390/400 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High Performance PWM and A/D
PIC18F2331/2431/4331/4431
DCFSNZ ................................................................... 309
DECF ........................................................................ 308
DECFSZ.................................................................... 309
General Format ......................................................... 291
GOTO ....................................................................... 310
INCF.......................................................................... 310
INCFSZ ..................................................................... 311
INFSNZ ..................................................................... 311
IORLW ...................................................................... 312
IORWF ...................................................................... 312
LFSR ......................................................................... 313
MOVF........................................................................ 313
MOVFF ..................................................................... 314
MOVLB ..................................................................... 314
MOVLW .................................................................... 315
MOVWF .................................................................... 315
MULLW ..................................................................... 316
MULWF ..................................................................... 316
NEGF ........................................................................ 317
NOP .......................................................................... 317
POP .......................................................................... 318
PUSH ........................................................................ 318
RCALL ...................................................................... 319
Read-Modify-Write Operations ................................. 289
RESET ...................................................................... 319
RETFIE ..................................................................... 320
RETLW ..................................................................... 320
RETURN ................................................................... 321
RLCF......................................................................... 321
RLNCF ...................................................................... 322
RRCF ........................................................................ 322
RRNCF ..................................................................... 323
SETF ......................................................................... 323
SLEEP ...................................................................... 324
SUBFWB................................................................... 324
SUBLW ..................................................................... 325
SUBWF ..................................................................... 325
SUBWFB................................................................... 326
Summary................................................................... 289
SWAPF ..................................................................... 326
TBLRD ...................................................................... 327
TBLWT ...................................................................... 328
TSTFSZ .................................................................... 329
XORLW ..................................................................... 329
XORWF..................................................................... 330
Summary Table......................................................... 292
INTCON Register
RBIF Bit..................................................................... 114
INTCON Registers .............................................................. 95
Inter-Integrated Circuit (I2C). See I2C Mode.
Internal Oscillator Block ...................................................... 26
Adjustment .................................................................. 26
INTIO Modes............................................................... 26
INTRC Output Frequency ........................................... 26
OSCTUNE Register .................................................... 26
Internal RC Oscillator
Use with WDT ........................................................... 280
Internet Address................................................................ 393
Interrupt Sources............................................................... 269
Capture Complete (CCP) .......................................... 154
Interrupt-on-Change (RB7:RB4) ............................... 114
INTx Pin .................................................................... 108
PORTB, Interrupt-on-Change ................................... 108
TMR0 ........................................................................ 108
TMR1 Overflow ......................................................... 139
TMR2 to PR2 Match (PWM) ............................. 145, 157
Interrupts............................................................................. 93
Context Saving, During............................................. 108
Interrupts, Enable Bits
CCP1 Enable (CCP1IE Bit) ...................................... 154
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit)........................................... 154
CCP1IF Flag (CCP1IF Bit)........................................ 155
CCP2IF Flag (CCP2IF Bit)........................................ 155
Interrupt-on-Change (RB7:RB4)
Flag (RBIF Bit).................................................. 114
INTOSC Frequency Drift..................................................... 44
INTOSC, INTRC. See Internal Oscillator Block.
IORLW .............................................................................. 312
IORWF .............................................................................. 312
IPR Registers.................................................................... 104
I2C Mode
Operation .................................................................. 219
I2C Mode (SSP)
Addressing................................................................ 220
Associated Registers ................................................ 222
Master Mode............................................................. 222
Mode Selection ......................................................... 219
Multi-Master Mode .................................................... 222
Operation .................................................................. 219
Reception ................................................................. 221
Slave Mode............................................................... 219
SCL and SDA Pins ........................................... 219
Transmission ............................................................ 221
L
LFSR................................................................................. 313
Look-up Tables ................................................................... 65
Low-Voltage Detect .......................................................... 263
Characteristics .......................................................... 349
Effects of a Reset ..................................................... 267
Operation .................................................................. 266
Current Consumption ....................................... 267
Reference Voltage Set Point ............................ 267
Operation During Sleep ............................................ 267
Low-Voltage ICSP Programming...................................... 288
LVD. See Low-Voltage Detect. ......................................... 263
M
Memory Organization ......................................................... 59
Data Memory .............................................................. 65
Program Memory ........................................................ 59
Memory Programming Requirements............................... 348
Microchip Internet Web Site.............................................. 393
Migration from Baseline to Enhanced Devices ................. 382
Migration from High-End to Enhanced Devices................ 383
Migration from Mid-Range to
Enhanced Devices.................................................... 383
Motion Feedback Module (MFM) ...................................... 159
Associated Registers ................................................ 179
Summary of Features ............................................... 159
MOVF ............................................................................... 313
MOVFF ............................................................................. 314
MOVLB ............................................................................. 314
MOVLW ............................................................................ 315
MOVWF ............................................................................ 315
MPLAB ASM30 Assembler, Linker, Librarian ................... 332
MPLAB ICD 2 In-Circuit Debugger ................................... 333
MPLAB ICE 2000 High-Performance
Universal In-Circuit Emulator .................................... 333
MPLAB Integrated Development
Environment Software .............................................. 331
DS39616C-page 388
Preliminary
© 2007 Microchip Technology Inc.