Datasheet

PIC18F46J11 FAMILY
DS39932D-page 8 2011 Microchip Technology Inc.
Table of Contents
Device Overview ................................................................................................................................................................................. 11
Guidelines for Getting Started with PIC18FJ Microcontrollers ............................................................................................................ 31
Oscillator Configurations ..................................................................................................................................................................... 37
Low-Power Modes .............................................................................................................................................................................. 47
Reset ................................................................................................................................................................................................... 63
Memory Organization .......................................................................................................................................................................... 77
Flash Program Memory ..................................................................................................................................................................... 103
8 x 8 Hardware Multiplier .................................................................................................................................................................. 113
Interrupts ........................................................................................................................................................................................... 115
I/O Ports ............................................................................................................................................................................................ 131
Parallel Master Port (PMP) ............................................................................................................................................................... 171
Timer0 Module .................................................................................................................................................................................. 197
Timer1 Module .................................................................................................................................................................................. 201
Timer2 Module .................................................................................................................................................................................. 213
Timer3 Module .................................................................................................................................................................................. 215
Timer4 Module .................................................................................................................................................................................. 225
Real-Time Clock and Calendar (RTCC) ............................................................................................................................................ 227
Enhanced Capture/Compare/PWM (ECCP) Module ........................................................................................................................ 247
Master Synchronous Serial Port (MSSP) Module ............................................................................................................................. 271
Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ........................................................................ 327
10-bit Analog-to-Digital Converter (A/D) Module ............................................................................................................................... 351
Comparator Module .......................................................................................................................................................................... 361
Comparator Voltage Reference Module ............................................................................................................................................ 369
High/Low Voltage Detect (HLVD) ...................................................................................................................................................... 373
Charge Time Measurement Unit (CTMU) ......................................................................................................................................... 379
Special Features of the CPU ............................................................................................................................................................. 395
Instruction Set Summary ................................................................................................................................................................... 413
Development Support ....................................................................................................................................................................... 463
Electrical Characteristics ................................................................................................................................................................... 467
Packaging Information ...................................................................................................................................................................... 507
Appendix A: Revision History ............................................................................................................................................................ 519
Appendix B: Device Differences ........................................................................................................................................................ 519
The Microchip Web Site .................................................................................................................................................................... 533
Customer Change Notification Service ............................................................................................................................................. 533
Customer Support ............................................................................................................................................................................. 533
Reader Response ............................................................................................................................................................................. 534
Product Identification System ............................................................................................................................................................ 535