Datasheet

PIC18F66K80 FAMILY
DS39977C-page 10 Preliminary 2011 Microchip Technology Inc.
Table of Contents
1.0 Device Overview ........................................................................................................................................................................ 13
2.0 Guidelines for Getting Started with PIC18FXXKXX Microcontrollers ......................................................................................... 47
3.0 Oscillator Configurations ............................................................................................................................................................ 53
4.0 Power-Managed Modes ............................................................................................................................................................. 67
5.0 Reset .......................................................................................................................................................................................... 81
6.0 Memory Organization ............................................................................................................................................................... 105
7.0 Flash Program Memory............................................................................................................................................................ 135
8.0 Data EEPROM Memory ........................................................................................................................................................... 145
9.0 8 x 8 Hardware Multiplier.......................................................................................................................................................... 151
10.0 Interrupts .................................................................................................................................................................................. 153
11.0 I/O Ports ................................................................................................................................................................................... 177
12.0 Data Signal Modulator .............................................................................................................................................................. 201
13.0 Timer0 Module ......................................................................................................................................................................... 211
14.0 Timer1 Module ......................................................................................................................................................................... 215
15.0 Timer2 Module ......................................................................................................................................................................... 227
16.0 Timer3 Module ......................................................................................................................................................................... 229
17.0 Timer4 Modules........................................................................................................................................................................ 239
18.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 241
19.0 Capture/Compare/PWM (CCP) Modules ................................................................................................................................. 259
20.0 Enhanced Capture/Compare/PWM (ECCP) Module................................................................................................................ 271
21.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 293
22.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 339
23.0 12-Bit Analog-to-Digital Converter (A/D) Module ..................................................................................................................... 363
24.0 Comparator Module.................................................................................................................................................................. 377
25.0 Comparator Voltage Reference Module................................................................................................................................... 385
26.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................. 389
27.0 ECAN Module........................................................................................................................................................................... 395
28.0 Special Features of the CPU.................................................................................................................................................... 461
29.0 Instruction Set Summary .......................................................................................................................................................... 487
30.0 Development Support............................................................................................................................................................... 537
31.0 Electrical Characteristics .......................................................................................................................................................... 541
32.0 Packaging Information.............................................................................................................................................................. 589
Appendix A: Revision History............................................................................................................................................................. 609
Appendix B: Migration to PIC18F66K80 Family................................................................................................................................. 609
Index ................................................................................................................................................................................................. 611
The Microchip Web Site..................................................................................................................................................................... 625
Customer Change Notification Service .............................................................................................................................................. 625
Customer Support .............................................................................................................................................................................. 625
Reader Response .............................................................................................................................................................................. 626
Product Identification System............................................................................................................................................................. 627