PIC18F2331/2431/4331/4431
2
MOVLW ....................................................................309
MOVWF ....................................................................309
MULLW .....................................................................310
MULWF.....................................................................310
NEGF ........................................................................311
NOP ..........................................................................311
POP ..........................................................................312
PUSH ........................................................................312
RCALL ......................................................................313
Read-Modify-Write Operations .................................283
RESET ......................................................................313
RETFIE .....................................................................314
RETLW .....................................................................314
RETURN ...................................................................315
RLCF.........................................................................315
RLNCF ......................................................................316
RRCF ........................................................................316
RRNCF .....................................................................317
SETF.........................................................................317
SLEEP ......................................................................318
SUBFWB...................................................................318
SUBLW .....................................................................319
SUBWF.....................................................................319
SUBWFB...................................................................320
Summary...................................................................283
Summary Table.........................................................286
SWAPF .....................................................................320
TBLRD ......................................................................321
TBLWT......................................................................322
TSTFSZ ....................................................................323
XORLW.....................................................................323
XORWF.....................................................................324
I C Mode
Operation.................................................................. 212
I C Mode (SSP)
Addressing................................................................ 213
2
Associated Registers................................................ 216
Master Mode............................................................. 216
Mode Selection......................................................... 212
Multi-Master Mode.................................................... 216
Operation.................................................................. 212
Reception ................................................................. 214
Slave Mode............................................................... 212
SCL and SDA Pins ........................................... 212
Transmission ............................................................ 215
L
LFSR................................................................................. 307
Low-Voltage Detect .......................................................... 257
Applications .............................................................. 261
Associated Registers................................................ 261
Characteristics.......................................................... 342
Current Consumption................................................ 259
Effects of a Reset ..................................................... 261
Operation.................................................................. 259
Operation During Sleep ............................................ 261
Setup ........................................................................ 259
Start-up Time............................................................ 260
LVD. See Low-Voltage Detect.
M
Master Clear (MCLR).......................................................... 49
Memory Organization ......................................................... 61
Data Memory .............................................................. 67
Program Memory........................................................ 61
Memory Programming Requirements............................... 341
MFM
INTCON Register
RBIF Bit.....................................................................116
INTCON Registers ..............................................................99
2
2
Input Capture
Inter-Integrated Circuit (I C). See I C Mode.
Edge Capture Mode ......................................... 156
Entering and Timing ......................................... 159
IC Interrupts...................................................... 159
Pulse-Width Measurement Mode ..................... 157
Special Event Trigger (CAP1 Only).................. 160
State Change.................................................... 158
Time Base Reset Summary.............................. 160
Timer5 Reset.................................................... 159
Input Capture (IC) Submode..................................... 153
Input Capture Mode
Internal Oscillator Block ......................................................32
Adjustment..................................................................32
INTIO Modes...............................................................32
INTRC Output Frequency ...........................................32
OSCTUNE Register....................................................32
Internal RC Oscillator
Use with WDT...........................................................274
Internet Address................................................................387
Interrupt Sources...............................................................263
Capture Complete (CCP)..........................................146
Interrupt-on-Change (RB7:RB4) ...............................116
INTx Pin ....................................................................112
PORTB, Interrupt-on-Change ...................................112
TMR0 ........................................................................112
TMR1 Overflow .........................................................131
TMR2 to PR2 Match (PWM) ............................. 136, 149
Interrupts.............................................................................97
Context Saving, During .............................................112
Interrupts, Enable Bits
Period Measurement Mode .............................. 157
Noise Filters.............................................................. 169
Microchip Internet Web Site.............................................. 387
Migration From Baseline to Enhanced Devices................ 376
Migration From High-End to Enhanced Devices............... 377
Migration From Mid-Range to Enhanced Devices............ 377
Motion Feedback Module (MFM)...................................... 151
Associated Registers................................................ 171
Summary of Features ............................................... 151
MOVF ............................................................................... 307
MOVFF ............................................................................. 308
MOVLB ............................................................................. 308
MOVLW ............................................................................ 309
MOVWF............................................................................ 309
MPLAB ASM30 Assembler, Linker, Librarian................... 326
MPLAB Integrated Development
CCP1 Enable (CCP1IE Bit).......................................146
Interrupts, Flag Bits
CCP1 Flag (CCP1IF Bit)...........................................146
CCP1IF Flag (CCP1IF Bit)........................................147
CCP2IF Flag (CCP2IF Bit)........................................147
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ..........................................................116
INTOSC, INTRC. See Internal Oscillator Block.
IORLW ..............................................................................306
IORWF ..............................................................................306
IPR Registers....................................................................108
Environment Software .............................................. 325
MPLAB PM3 Device Programmer .................................... 328
MPLAB REAL ICE In-Circuit Emulator System ................ 327
DS39616D-page 382
2010 Microchip Technology Inc.