PIC18F2420/2520/4420/4520
Standard Instructions ................................................267
MPLAB ASM30 Assembler, Linker, Librarian ................... 318
MPLAB ICD 2 In-Circuit Debugger ................................... 319
MPLAB ICE 2000 High-Performance
Universal In-Circuit Emulator .................................... 319
MPLAB Integrated Development
Environment Software .............................................. 317
MPLAB PM3 Device Programmer .................................... 319
MPLAB REAL ICE In-Circuit Emulator System................. 319
MPLINK Object Linker/MPLIB Object Librarian ................ 318
MSSP
SUBFWB...................................................................302
SUBLW .....................................................................303
SUBWF .....................................................................303
SUBWFB...................................................................304
SWAPF .....................................................................304
TBLRD ......................................................................305
TBLWT......................................................................306
TSTFSZ.....................................................................307
XORLW.....................................................................307
XORWF.....................................................................308
INTCON Registers ........................................................93–95
Inter-Integrated Circuit. See I2C.
ACK Pulse ........................................................ 174, 175
Control Registers (general)....................................... 161
I2C Mode. See I2C Mode.
Internal Oscillator Block.......................................................26
Adjustment ..................................................................26
INTIO Modes...............................................................26
INTOSC Frequency Drift.............................................26
INTOSC Output Frequency.........................................26
OSCTUNE Register ....................................................26
PLL in INTOSC Modes................................................26
Internal RC Oscillator
Module Overview...................................................... 161
SPI Master/Slave Connection................................... 165
SPI Mode. See SPI Mode.
SSPBUF Register..................................................... 166
SSPSR Register ....................................................... 166
MULLW............................................................................. 294
MULWF............................................................................. 294
N
Use with WDT ...........................................................258
Internet Address................................................................407
Interrupt Sources...............................................................249
A/D Conversion Complete.........................................227
Capture Complete (CCP)..........................................141
Compare Complete (CCP)........................................142
Interrupt-on-Change (RB7:RB4) ...............................108
INTx Pin ....................................................................103
PORTB, Interrupt-on-Change ...................................103
TMR0 ........................................................................103
TMR0 Overflow .........................................................125
TMR1 Overflow .........................................................127
TMR2 to PR2 Match (PWM) .............................144, 149
TMR3 Overflow .................................................135, 137
Interrupts .............................................................................91
Interrupts, Flag Bits
NEGF................................................................................ 295
NOP .................................................................................. 295
O
Oscillator Configuration....................................................... 23
EC............................................................................... 23
ECIO........................................................................... 23
HS............................................................................... 23
HSPLL ........................................................................ 23
Internal Oscillator Block.............................................. 26
INTIO1 ........................................................................ 23
INTIO2 ........................................................................ 23
LP ............................................................................... 23
RC............................................................................... 23
RCIO........................................................................... 23
XT ............................................................................... 23
Oscillator Selection ........................................................... 249
Oscillator Start-up Timer (OST) .................................... 31, 45
Oscillator Switching............................................................. 28
Oscillator Transitions .......................................................... 29
Oscillator, Timer1...................................................... 127, 137
Oscillator, Timer3.............................................................. 135
Interrupt-on-Change (RB7:RB4) Flag
(RBIF Bit) ..........................................................108
INTOSC, INTRC. See Internal Oscillator Block.
IORLW...............................................................................290
IORWF ..............................................................................290
IPR Registers ............................................................100–101
L
P
LFSR .................................................................................291
Low-Voltage ICSP Programming. See Single-Supply
ICSP Programming
Packaging Information ...................................................... 383
Details....................................................................... 385
Marking..................................................................... 383
Parallel Slave Port (PSP).......................................... 114, 120
Associated Registers................................................ 121
CS (Chip Select)....................................................... 120
PORTD ..................................................................... 120
RD (Read Input)........................................................ 120
Select (PSPMODE Bit) ..................................... 114, 120
WR (Write Input)....................................................... 120
PICSTART Plus Development Programmer..................... 320
PIE Registers................................................................ 98–99
Pin Functions
M
Master Clear (MCLR) ..........................................................43
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization..........................................................53
Data Memory...............................................................59
Program Memory ........................................................53
Memory Programming Requirements ...............................337
Microchip Internet Web Site ..............................................407
Migration from High-End to Enhanced Devices ................396
Migration from Mid-Range to Enhanced Devices..............396
MOVF................................................................................291
MOVFF..............................................................................292
MOVLB..............................................................................292
MOVLW.............................................................................293
MOVSF..............................................................................311
MOVSS .............................................................................312
MOVWF.............................................................................293
MCLR/VPP/RE3 .................................................... 12, 16
OSC1/CLKI/RA7................................................... 12, 16
OSC2/CLKO/RA6 ................................................. 12, 16
RA0/AN0............................................................... 13, 17
RA1/AN1............................................................... 13, 17
RA2/AN2/VREF-/CVREF......................................... 13, 17
RA3/AN3/VREF+.................................................... 13, 17
DS39631E-page 401
© 2008 Microchip Technology Inc.