English
Language : 

PIC18F2585_07 Datasheet, PDF (6/482 Pages) Microchip Technology – Enhanced Flash Microcontrollers with ECAN Technology, 10-Bit A/D and nanoWatt Technology
PIC18F2585/2680/4585/4680
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 7
2.0 Oscillator Configurations ............................................................................................................................................................ 23
3.0 Power Managed Modes ............................................................................................................................................................. 33
4.0 Reset .......................................................................................................................................................................................... 41
5.0 Memory Organization ................................................................................................................................................................. 61
6.0 Flash Program Memory .............................................................................................................................................................. 95
7.0 Data EEPROM Memory ........................................................................................................................................................... 105
8.0 8 x 8 Hardware Multiplier.......................................................................................................................................................... 111
9.0 Interrupts .................................................................................................................................................................................. 113
10.0 I/O Ports ................................................................................................................................................................................... 129
11.0 Timer0 Module ......................................................................................................................................................................... 147
12.0 Timer1 Module ......................................................................................................................................................................... 151
13.0 Timer2 Module ......................................................................................................................................................................... 157
14.0 Timer3 Module ......................................................................................................................................................................... 159
15.0 Capture/Compare/PWM (CCP1) Modules ............................................................................................................................... 163
16.0 Enhanced Capture/Compare/PWM (ECCP1) Module.............................................................................................................. 173
17.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 187
18.0 Enhanced Universal Synchronous Receiver Transmitter (EUSART) ....................................................................................... 227
19.0 10-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 247
20.0 Comparator Module.................................................................................................................................................................. 257
21.0 Comparator Voltage Reference Module ................................................................................................................................... 263
22.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 267
23.0 ECAN™ Technology ................................................................................................................................................................ 273
24.0 Special Features of the CPU .................................................................................................................................................... 343
25.0 Instruction Set Summary .......................................................................................................................................................... 361
26.0 Development Support............................................................................................................................................................... 411
27.0 Electrical Characteristics .......................................................................................................................................................... 415
28.0 DC and AC Characteristics Graphs and Tables ....................................................................................................................... 451
29.0 Packaging Information.............................................................................................................................................................. 453
Appendix A: Revision History............................................................................................................................................................. 461
Appendix B: Device Differences......................................................................................................................................................... 461
Appendix C: Conversion Considerations ........................................................................................................................................... 462
Appendix D: Migration From Baseline to Enhanced Devices............................................................................................................. 462
Appendix E: Migration from Mid-Range to Enhanced Devices .......................................................................................................... 463
Appendix F: Migration from High-End to Enhanced Devices ............................................................................................................. 463
Index .................................................................................................................................................................................................. 465
The Microchip Web Site ..................................................................................................................................................................... 477
Customer Change Notification Service .............................................................................................................................................. 477
Customer Support .............................................................................................................................................................................. 477
Reader Response .............................................................................................................................................................................. 478
PIC18F2585/2680/4585/4680 Product Identification System ............................................................................................................ 479
DS39625C-page 4
Preliminary
© 2007 Microchip Technology Inc.