Microchip Technology DM163025-1 Data Sheet
PIC18(L)F2X/45K50
DS30684A-page 8
2012 Microchip Technology Inc.
Table of Contents
1.0
Device Overview ....................................................................................................................................................................... 13
2.0
Guidelines for Getting Started with PIC18(L)F2X/45K50 Microcontrollers ................................................................................ 27
3.0
Oscillator Module (With Fail-Safe Clock Monitor)...................................................................................................................... 33
10.0 Interrupts .................................................................................................................................................................................. 119
11.0 I/O Ports .................................................................................................................................................................................. 137
12.0 Timer0 Module......................................................................................................................................................................... 163
13.0 Timer1/3 Module with Gate Control......................................................................................................................................... 167
14.0 Timer2 Module......................................................................................................................................................................... 179
15.0 Capture/Compare/PWM Modules............................................................................................................................................ 183
16.0 Master Synchronous Serial Port (MSSP) Module ................................................................................................................... 215
17.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) .............................................................. 271
18.0 Analog-to-Digital Converter (ADC) Module ............................................................................................................................. 301
19.0 Comparator Module................................................................................................................................................................. 315
20.0 Charge Time Measurement Unit (CTMU)................................................................................................................................ 325
21.0 SR L
11.0 I/O Ports .................................................................................................................................................................................. 137
12.0 Timer0 Module......................................................................................................................................................................... 163
13.0 Timer1/3 Module with Gate Control......................................................................................................................................... 167
14.0 Timer2 Module......................................................................................................................................................................... 179
15.0 Capture/Compare/PWM Modules............................................................................................................................................ 183
16.0 Master Synchronous Serial Port (MSSP) Module ................................................................................................................... 215
17.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) .............................................................. 271
18.0 Analog-to-Digital Converter (ADC) Module ............................................................................................................................. 301
19.0 Comparator Module................................................................................................................................................................. 315
20.0 Charge Time Measurement Unit (CTMU)................................................................................................................................ 325
21.0 SR L
................................................................................................................................................................................. 341
22.0 Fixed Voltage Reference (FVR)............................................................................................................................................... 347
23.0 Digital-to-Analog Converter (DAC) Module ............................................................................................................................. 349
24.0 Universal Serial Bus (USB) ..................................................................................................................................................... 353
25.0 High/Low-Voltage Detect (HLVD) ............................................................................................................................................ 381
26.0 Special Features of the CPU ................................................................................................................................................... 387
27.0 Instruction Set Summary ......................................................................................................................................................... 407
28.0 Development Support.............................................................................................................................................................. 457
29.0 Electrical Characteristics ......................................................................................................................................................... 461
30.0 DC and AC Characteristics Graphs and Charts ...................................................................................................................... 501
31.0 Packaging Information............................................................................................................................................................. 503
Appendix A: Revision History............................................................................................................................................................ 521
Appendix B: Device Differences........................................................................................................................................................ 522
Index ................................................................................................................................................................................................. 523
The Microchip Web Site .................................................................................................................................................................... 533
Customer Change Notification Service ............................................................................................................................................. 533
Customer Support ............................................................................................................................................................................. 533
Reader Response ............................................................................................................................................................................. 534
Product Identification System............................................................................................................................................................ 535
23.0 Digital-to-Analog Converter (DAC) Module ............................................................................................................................. 349
24.0 Universal Serial Bus (USB) ..................................................................................................................................................... 353
25.0 High/Low-Voltage Detect (HLVD) ............................................................................................................................................ 381
26.0 Special Features of the CPU ................................................................................................................................................... 387
27.0 Instruction Set Summary ......................................................................................................................................................... 407
28.0 Development Support.............................................................................................................................................................. 457
29.0 Electrical Characteristics ......................................................................................................................................................... 461
30.0 DC and AC Characteristics Graphs and Charts ...................................................................................................................... 501
31.0 Packaging Information............................................................................................................................................................. 503
Appendix A: Revision History............................................................................................................................................................ 521
Appendix B: Device Differences........................................................................................................................................................ 522
Index ................................................................................................................................................................................................. 523
The Microchip Web Site .................................................................................................................................................................... 533
Customer Change Notification Service ............................................................................................................................................. 533
Customer Support ............................................................................................................................................................................. 533
Reader Response ............................................................................................................................................................................. 534
Product Identification System............................................................................................................................................................ 535