Datasheet

Table Of Contents
PIC12(L)F1822/16(L)F1823
DS40001413E-page 6 2010-2015 Microchip Technology Inc.
Table of Contents
1.0 Device Overview .......................................................................................................................................................................... 8
2.0 Enhanced Mid-Range CPU ........................................................................................................................................................ 15
3.0 Memory Organization ................................................................................................................................................................. 17
4.0 Device Configuration .................................................................................................................................................................. 45
5.0 Oscillator Module (With Fail-Safe Clock Monitor)....................................................................................................................... 51
6.0 Reference Clock Module ............................................................................................................................................................ 68
7.0 Resets ........................................................................................................................................................................................ 71
8.0 Interrupts .................................................................................................................................................................................... 80
9.0 Power-Down Mode (Sleep) ........................................................................................................................................................ 92
10.0 Watchdog Timer ......................................................................................................................................................................... 95
11.0 Data EEPROM and Flash Program Memory Control ................................................................................................................. 98
12.0 I/O Ports ................................................................................................................................................................................... 112
13.0 Interrupt-On-Change ................................................................................................................................................................ 123
14.0 Fixed Voltage Reference (FVR) ............................................................................................................................................... 127
15.0 Temperature Indicator Module ................................................................................................................................................. 129
16.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 130
17.0 Digital-to-Analog Converter (DAC) Module .............................................................................................................................. 143
18.0 SR Latch................................................................................................................................................................................... 147
19.0 Comparator Module.................................................................................................................................................................. 152
20.0 Timer0 Module ......................................................................................................................................................................... 162
21.0 Timer1 Module with Gate Control............................................................................................................................................. 165
22.0 Timer2 Module ......................................................................................................................................................................... 176
23.0 Data Signal Modulator.............................................................................................................................................................. 180
24.0 Capture/Compare/PWM Modules ............................................................................................................................................ 190
25.0 Master Synchronous Serial Port Module .................................................................................................................................. 217
26.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 268
27.0 Capacitive Sensing (CPS) Module ........................................................................................................................................... 296
28.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 305
29.0 Instruction Set Summary .......................................................................................................................................................... 308
30.0 Electrical Specifications............................................................................................................................................................ 322
31.0 DC and AC Characteristics Graphs and Charts ....................................................................................................................... 359
32.0 Development Support............................................................................................................................................................... 387
33.0 Packaging Information.............................................................................................................................................................. 391
Appendix A: Data Sheet Revision History.......................................................................................................................................... 418
Appendix B: Migrating From Other PIC® Devices ............................................................................................................................. 418
The Microchip Web Site ..................................................................................................................................................................... 419
Customer Change Notification Service .............................................................................................................................................. 419
Customer Support .............................................................................................................................................................................. 419
Product Identification System............................................................................................................................................................. 420