English
Language : 

PIC18F23K22 Datasheet, PDF (11/492 Pages) Microchip Technology – 28/40/44-Pin, Low-Power, High-Performance Microcontrollers with nanoWatt XLP Technology
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 .................................................................................................................................................................................. 133
11.0 Timer0 Module ........................................................................................................................................................................ 157
12.0 Timer1/3/5 Module with Gate Control...................................................................................................................................... 161
13.0 Timer2/4/6 Module .................................................................................................................................................................. 173
14.0 Capture/Compare/PWM Modules ........................................................................................................................................... 177
15.0 Master Synchronous Serial Port (MSSP1 and MSSP2) Module ............................................................................................. 207
16.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) .............................................................. 263
17.0 Analog-to-Digital Converter (ADC) Module ............................................................................................................................. 291
18.0 Comparator Module................................................................................................................................................................. 305
19.0 Charge Time Measurement Unit (CTMU) ............................................................................................................................... 317
20.0 SR Latch.................................................................................................................................................................................. 333
21.0 Fixed Voltage Reference (FVR) .............................................................................................................................................. 337
22.0 Digital-to-Analog Converter (DAC) .......................................................................................................................................... 339
23.0 High/Low-Voltage Detect (HLVD)............................................................................................................................................ 343
24.0 Special Features of the CPU................................................................................................................................................... 349
25.0 Instruction Set Summary ......................................................................................................................................................... 367
26.0 Development Support.............................................................................................................................................................. 417
27.0 Electrical Characteristics ......................................................................................................................................................... 421
28.0 DC and AC Characteristics Graphs and Tables...................................................................................................................... 461
29.0 Packaging Information............................................................................................................................................................. 463
Appendix A: Revision History............................................................................................................................................................ 477
Appendix B: Device Differences ....................................................................................................................................................... 478
Index ................................................................................................................................................................................................. 479
The Microchip Web Site .................................................................................................................................................................... 489
Customer Change Notification Service ............................................................................................................................................. 489
Customer Support ............................................................................................................................................................................. 489
Reader Response ............................................................................................................................................................................. 490
Product Identification System ........................................................................................................................................................... 491
 2010 Microchip Technology Inc.
Preliminary
DS41412B-page 11