English
Language : 

PIC16F1938_13 Datasheet, PDF (8/488 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver
PIC16(L)F1938/9
TABLE OF CONTENTS
1.0 Device Overview ........................................................................................................................................................................ 11
2.0 Enhanced Mid-Range CPU ........................................................................................................................................................ 19
3.0 Memory Organization ................................................................................................................................................................. 21
4.0 Device Configuration .................................................................................................................................................................. 53
5.0 Oscillator Module (With Fail-Safe Clock Monitor)....................................................................................................................... 59
6.0 Resets ........................................................................................................................................................................................ 77
7.0 Interrupts .................................................................................................................................................................................... 85
8.0 Low Dropout (LDO) Voltage Regulator ...................................................................................................................................... 99
9.0 Power-Down Mode (Sleep) ...................................................................................................................................................... 101
10.0 Watchdog Timer (WDT) ........................................................................................................................................................... 103
11.0 Data EEPROM and Flash Program Memory Control ............................................................................................................... 107
12.0 I/O Ports ................................................................................................................................................................................... 121
13.0 Interrupt-On-Change ................................................................................................................................................................ 143
14.0 Fixed Voltage Reference .......................................................................................................................................................... 147
15.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 151
16.0 Temperature Indicator Module ................................................................................................................................................. 165
17.0 Digital-to-Analog Converter (DAC) Module .............................................................................................................................. 167
18.0 Comparator Module.................................................................................................................................................................. 171
19.0 SR Latch................................................................................................................................................................................... 181
20.0 Timer0 Module ......................................................................................................................................................................... 187
21.0 Timer1 Module with Gate Control............................................................................................................................................. 191
22.0 Timer2/4/6 Modules.................................................................................................................................................................. 203
23.0 Capture/Compare/PWM Modules (ECCP1, ECCP2, ECCP3, CCP4, CCP5) .......................................................................... 207
24.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 237
25.0 Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) ............................................................... 289
26.0 Capacitive Sensing Module ...................................................................................................................................................... 317
27.0 Liquid Crystal Display (LCD) Driver Module ............................................................................................................................. 327
28.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 361
29.0 Instruction Set Summary .......................................................................................................................................................... 365
30.0 Electrical Specifications............................................................................................................................................................ 379
31.0 DC and AC Characteristics Graphs and Charts ....................................................................................................................... 411
32.0 Development Support............................................................................................................................................................... 445
33.0 Packaging Information.............................................................................................................................................................. 451
Appendix A: Data Sheet Revision History.......................................................................................................................................... 473
Appendix B: Migrating From Other PIC® Devices.............................................................................................................................. 473
Index .................................................................................................................................................................................................. 475
The Microchip Web Site ..................................................................................................................................................................... 483
Customer Change Notification Service .............................................................................................................................................. 483
Customer Support .............................................................................................................................................................................. 483
Reader Response .............................................................................................................................................................................. 484
Product Identification System............................................................................................................................................................. 485
DS40001574C-page 8
 2011-2013 Microchip Technology Inc.