English
Language : 

PIC18F4580 Datasheet, PDF (474/484 Pages) Microchip Technology – 28/40/44-Pin Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2480/2580/4480/4580
Interrupt Sources .............................................................. 343
A/D Conversion Complete ....................................... 251
Capture Complete (CCP) ......................................... 165
Compare Complete (CCP) ....................................... 167
ECAN Module .......................................................... 339
Interrupt-on-Change (RB7:RB4) .............................. 132
INTn Pin ................................................................... 128
PORTB, Interrupt-on-Change .................................. 128
TMR0 ....................................................................... 128
TMR0 Overflow ........................................................ 149
TMR1 Overflow ........................................................ 151
TMR2 to PR2 Match (PWM) ............................ 169, 175
TMR3 Overflow ................................................ 159, 161
Interrupts .......................................................................... 113
Logic (diagram) ........................................................ 114
Interrupts, Flag Bits
Interrupt-on-Change (RB7:RB4)
Flag (RBIF Bit) ................................................. 132
INTOSC Frequency Drift .................................................... 26
INTOSC, INTRC. See Internal Oscillator Block.
IORLW ............................................................................. 384
IORWF ............................................................................. 384
IPR Registers ................................................................... 124
L
LFSR ................................................................................ 385
Listen Only Mode ............................................................. 324
Loopback Mode ................................................................ 324
Low-Voltage ICSP Programming.
See Single-Supply ICSP Programming.
M
Master Clear Reset (MCLR) ............................................... 43
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization ......................................................... 61
Data Memory ............................................................. 67
Program Memory ....................................................... 61
Memory Programming Requirements .............................. 429
Migration from Baseline to
Enhanced Devices ................................................... 464
Migration from High-End to
Enhanced Devices ................................................... 465
Migration from Mid-Range to
Enhanced Devices ................................................... 465
MOVF ............................................................................... 385
MOVFF ............................................................................. 386
MOVLB ............................................................................. 386
MOVLW ............................................................................ 387
MOVSF ............................................................................ 405
MOVSS ............................................................................ 406
MOVWF ........................................................................... 387
MPLAB ASM30 Assembler, Linker, Librarian .................. 412
MPLAB ICD 2 In-Circuit Debugger ................................... 413
MPLAB ICE 2000 High-Performance Universal
In-Circuit Emulator ................................................... 413
MPLAB ICE 4000 High-Performance Universal
In-Circuit Emulator ................................................... 413
MPLAB Integrated Development
Environment Software .............................................. 411
MPLAB PM3 Device Programmer .................................... 413
MPLINK Object Linker/MPLIB
Object Librarian ........................................................ 412
MSSP
ACK Pulse ....................................................... 200, 201
Control Registers (general) ...................................... 187
I2C Mode. See I2C Mode.
Module Overview ..................................................... 187
SPI Master/Slave Connection .................................. 191
SPI Mode. See SPI Mode.
SSPBUF .................................................................. 192
SSPSR .................................................................... 192
MULLW ............................................................................ 388
MULWF ............................................................................ 388
N
NEGF ............................................................................... 389
NOP ................................................................................. 389
Normal Operation Mode .................................................. 324
O
Opcode Field Descriptions ............................................... 362
OPTION_REG Register
PSA Bit .................................................................... 149
T0CS Bit .................................................................. 148
T0PS2:T0PS0 Bits ................................................... 149
T0SE Bit .................................................................. 148
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 .......................................................... 343
Oscillator Start-up Timer (OST) ................................... 31, 45
Oscillator Switching ........................................................... 28
Oscillator Transitions ......................................................... 29
Oscillator, Timer1 ..................................................... 151, 161
Oscillator, Timer3 ............................................................. 159
P
Packaging Information ..................................................... 455
Marking .................................................................... 455
Parallel Slave Port (PSP) ......................................... 138, 144
Associated Registers ............................................... 145
CS (Chip Select) ...................................................... 144
PORTD .................................................................... 144
RD (Read Input) ....................................................... 144
Select (PSPMODE Bit) .................................... 138, 144
WR (Write Input) ...................................................... 144
PICkit 1 Flash Starter Kit ................................................. 415
PICSTART Plus Development Programmer .................... 414
PIE Registers ................................................................... 121
Pin Functions
MCLR/VPP/RE3 ................................................... 12, 16
OSC1/CLKI/RA7 .................................................. 12, 16
OSC2/CLKO/RA6 ................................................ 12, 16
RA0/AN0 .................................................................... 13
RA0/AN0/CVREF ........................................................ 17
DS39637A-page 472
Preliminary
 2004 Microchip Technology Inc.