English
Language : 

PIC18LF2X_13 Datasheet, PDF (11/560 Pages) Microchip Technology – PIC18(L)F2X/45K50 USB Flash MCU Product Brief
PIC18(L)F2X/4XK22
Table of Contents
1.0 Device Overview ....................................................................................................................................................................... 13
2.0 Oscillator Module (With Fail-Safe Clock Monitor)) .................................................................................................................... 27
3.0 Power-Managed Modes ............................................................................................................................................................ 47
4.0 Reset ......................................................................................................................................................................................... 59
5.0 Memory Organization ................................................................................................................................................................ 69
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 .................................................................................................................................................................................. 135
11.0 Timer0 Module ........................................................................................................................................................................ 159
12.0 Timer1/3/5 Module with Gate Control...................................................................................................................................... 163
13.0 Timer2/4/6 Module .................................................................................................................................................................. 175
14.0 Capture/Compare/PWM Modules ........................................................................................................................................... 179
15.0 Master Synchronous Serial Port (MSSP1 and MSSP2) Module .............................................................................................. 211
16.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) .............................................................. 267
17.0 Analog-to-Digital Converter (ADC) Module ............................................................................................................................. 297
18.0 Comparator Module.................................................................................................................................................................. 311
19.0 Charge Time Measurement Unit (CTMU)................................................................................................................................ 321
20.0 SR LATCH................................................................................................................................................................................. 337
21.0 Fixed Voltage Reference (FVR) .............................................................................................................................................. 343
22.0 Digital-to-Analog Converter (DAC) Module ............................................................................................................................. 345
23.0 High/Low-Voltage Detect (HLVD) ............................................................................................................................................ 349
24.0 Special Features of the CPU ................................................................................................................................................... 355
25.0 Instruction Set Summary ......................................................................................................................................................... 373
26.0 Development Support.............................................................................................................................................................. 423
27.0 Electrical Characteristics ......................................................................................................................................................... 427
28.0 DC and AC Characteristics Graphs and Tables ...................................................................................................................... 467
29.0 Packaging Information............................................................................................................................................................. 523
Appendix A: Revision History............................................................................................................................................................ 545
Appendix B: Device Differences........................................................................................................................................................ 546
Index ................................................................................................................................................................................................. 547
The Microchip Web Site .................................................................................................................................................................... 557
Customer Change Notification Service ............................................................................................................................................. 557
Customer Support ............................................................................................................................................................................. 557
Reader Response ............................................................................................................................................................................. 558
Product Identification System ........................................................................................................................................................... 559
 2010-2012 Microchip Technology Inc.
DS41412F-page 11