Datasheet
PIC16(L)F1938/9
DS40001574D-page 8 2011-2017 Microchip Technology Inc.
TABLE OF CONTENTS
1.0 Device Overview ........................................................................................................................................................................ 10
2.0 Enhanced Mid-range CPU ......................................................................................................................................................... 17
3.0 Memory Organization ................................................................................................................................................................. 19
4.0 Device Configuration .................................................................................................................................................................. 51
5.0 Oscillator Module (With Fail-Safe Clock Monitor)....................................................................................................................... 57
6.0 Resets ........................................................................................................................................................................................ 74
7.0 Interrupts .................................................................................................................................................................................... 82
8.0 Low Dropout (LDO) Voltage Regulator ...................................................................................................................................... 95
9.0 Power-Down Mode (Sleep) ........................................................................................................................................................ 96
10.0 Watchdog Timer ......................................................................................................................................................................... 98
11.0 Data EEPROM and Flash Program Memory Control ............................................................................................................... 102
12.0 I/O Ports ................................................................................................................................................................................... 116
13.0 Interrupt-On-Change ................................................................................................................................................................ 138
14.0 Fixed Voltage Reference (FVR) ............................................................................................................................................... 142
15.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 144
16.0 Temperature Indicator Module ................................................................................................................................................. 157
17.0 Digital-to-Analog Converter (DAC) Module .............................................................................................................................. 159
18.0 Comparator Module.................................................................................................................................................................. 163
19.0 SR Latch................................................................................................................................................................................... 172
20.0 Timer0 Module ......................................................................................................................................................................... 177
21.0 Timer1 Module with Gate Control............................................................................................................................................. 180
22.0 Timer2/4/6 Modules.................................................................................................................................................................. 191
23.0 Capture/Compare/PWM Modules ............................................................................................................................................ 195
24.0 Master Synchronous Serial Port Module .................................................................................................................................. 224
25.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 276
26.0 Capacitive Sensing (CPS) Module ........................................................................................................................................... 304
27.0 Liquid Crystal Display (LCD) Driver Module ............................................................................................................................. 313
28.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 347
29.0 Instruction Set Summary .......................................................................................................................................................... 350
30.0 Electrical Specifications............................................................................................................................................................ 364
31.0 DC and AC Characteristics Graphs and Charts ....................................................................................................................... 395
32.0 Development Support............................................................................................................................................................... 431
33.0 Packaging Information.............................................................................................................................................................. 435
The Microchip Website....................................................................................................................................................................... 463
Customer Change Notification Service .............................................................................................................................................. 463
Customer Support .............................................................................................................................................................................. 463
Product Identification System............................................................................................................................................................. 464