English
Language : 

PIC16F1938 Datasheet, PDF (13/452 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers
PIC16(L)F1938/9
Table of Contents
1.0 Device Overview ........................................................................................................................................................................ 15
2.0 Enhanced Mid-Range CPU ........................................................................................................................................................ 23
3.0 Memory Organization ................................................................................................................................................................. 25
4.0 Device Configuration .................................................................................................................................................................. 57
5.0 Oscillator Module (With Fail-Safe Clock Monitor)....................................................................................................................... 63
6.0 Resets ........................................................................................................................................................................................ 81
7.0 Interrupts .................................................................................................................................................................................... 89
8.0 Low Dropout (LDO) Voltage Regulator .................................................................................................................................... 103
9.0 Power-Down Mode (Sleep) ...................................................................................................................................................... 105
10.0 Watchdog Timer (WDT) ........................................................................................................................................................... 107
11.0 Data EEPROM and Flash Program Memory Control ............................................................................................................... 111
12.0 I/O Ports ................................................................................................................................................................................... 125
13.0 Interrupt-On-Change ................................................................................................................................................................ 147
14.0 Fixed Voltage Reference.......................................................................................................................................................... 151
15.0 Analog-to-Digital Converter (ADC) Module .............................................................................................................................. 153
16.0 Temperature Indicator Module ................................................................................................................................................. 167
17.0 Digital-to-Analog Converter (DAC) Module .............................................................................................................................. 169
18.0 Comparator Module.................................................................................................................................................................. 173
19.0 SR Latch................................................................................................................................................................................... 183
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............................................................................................................................................................... 413
33.0 Packaging Information.............................................................................................................................................................. 417
Appendix A: Data Sheet Revision History.......................................................................................................................................... 439
Appendix B: Migrating From Other PIC® Devices.............................................................................................................................. 439
Index .................................................................................................................................................................................................. 441
The Microchip Web Site ..................................................................................................................................................................... 449
Customer Change Notification Service .............................................................................................................................................. 449
Customer Support .............................................................................................................................................................................. 449
Reader Response .............................................................................................................................................................................. 450
Product Identification System ............................................................................................................................................................ 451
 2011 Microchip Technology Inc.
Preliminary
DS41574A-page 13