PIC16(L)F1938/9
DS40001574C-page 478 2011-2013 Microchip Technology Inc.
Disabling the Module ................................................ 357
Frame Frequency...................................................... 340
Interrupts................................................................... 353
LCDCON Register .................................................... 326
LCDPS Register........................................................ 326
Multiplex Types .........................................................340
Operation During Sleep ............................................355
Pixel Control.............................................................. 340
Prescaler................................................................... 332
Segment Enables...................................................... 340
Waveform Generation............................................... 342
LCDCON Register..................................................... 326, 327
LCDCST Register ............................................................. 330
LCDDATAx Registers ............................................... 331, 338
LCDPS Register........................................................ 326, 328
LP Bits.......................................................................332
LCDREF Register ............................................................. 329
LCDRL Register ................................................................ 338
LCDSEn Registers............................................................331
Liquid Crystal Display (LCD) Driver .................................. 325
Load Conditions ................................................................ 391
LSLF.................................................................................. 371
LSRF ................................................................................. 371
M
Master Synchronous Serial Port. See MSSP
MCLR .................................................................................. 80
Internal ........................................................................ 80
Memory Organization
Data ............................................................................ 23
Program ......................................................................21
Microchip Internet Web Site .............................................. 483
Migrating from other PIC Microcontroller Devices............. 473
MOVIW.............................................................................. 372
MOVLB.............................................................................. 372
MOVWI.............................................................................. 373
MPLAB ASM30 Assembler, Linker, Librarian ................... 446
MPLAB Integrated Development Environment Software .. 445
MPLAB PM3 Device Programmer..................................... 447
MPLAB REAL ICE In-Circuit Emulator System.................447
MPLINK Object Linker/MPLIB Object Librarian ................ 446
MSSP................................................................................ 235
SPI Mode .................................................................. 238
SSPBUF Register ..................................................... 241
SSPSR Register ....................................................... 241
O
OPCODE Field Descriptions .............................................363
OPTION ............................................................................ 373
OPTION Register.............................................................. 187
OSCCON Register..............................................................73
Oscillator
Associated Registers .................................................. 75
Oscillator Module ................................................................ 59
ECH ............................................................................ 59
ECL ............................................................................. 59
ECM ............................................................................ 59
HS ............................................................................... 59
INTOSC ......................................................................59
LP................................................................................ 59
RC............................................................................... 59
XT ............................................................................... 59
Oscillator Parameters........................................................ 393
Oscillator Specifications .................................................... 392
Oscillator Switching
Fail-Safe Clock Monitor............................................... 71
Two-Speed Clock Start-up.......................................... 69
OSCSTAT Register ............................................................ 74
OSCTUNE Register............................................................ 75
P
P1A/P1B/P1C/P1D.See Enhanced Capture/
Compare/PWM (ECCP)............................................ 214
Packaging ......................................................................... 449
Marking............................................. 449, 450, 451, 452
PDIP Details ............................................................. 453
PCL and PCLATH............................................................... 20
PCL Register32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45
PCLATH Register32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44,
45
PCON Register............................................................. 33, 83
PIE1 Register................................................................ 33, 91
PIE2 Register................................................................ 33, 92
PIE3 Register...................................................................... 93
Pin Diagram
28-pin QFN/UQFN........................................................ 3
28-pin SPDIP/SOIC/SSOP ........................................... 3
40-pin PDIP .................................................................. 4
44-pin QFN ................................................................... 5
44-pin TQFP................................................................. 5
44-pin UQFN................................................................. 4
Pinout Descriptions
PIC16(L)1938/9 .......................................................... 13
PIR1 Register ............................................................... 32, 94
PIR2 Register ............................................................... 32, 95
PIR3 Register ..................................................................... 96
PORTA ............................................................................. 124
ANSELA Register ..................................................... 124
Associated Registers................................................ 127
Configuration Word w/ PORTA................................. 127
PORTA Register................................................... 32, 34
Specifications ........................................................... 394
PORTA Register............................................................... 125
PORTB ............................................................................. 128
Additional Pin Functions
Weak Pull-up .................................................... 129
ANSELB Register ..................................................... 128
Associated Registers................................................ 132
Interrupt-on-Change ................................................. 128
P1B/P1C/P1D.See Enhanced Capture/Compare/
PWM+ (ECCP+) ............................................... 128
Pin Descriptions and Diagrams ................................ 129
PORTB Register................................................... 32, 34
PORTB Register............................................................... 130
PORTC ............................................................................. 133
Associated Registers................................................ 135
P1A.See Enhanced Capture/Compare/PWM+
(ECCP+) ........................................................... 133
Pin Descriptions and Diagrams ................................ 133
PORTC Register................................................... 32, 34
Specifications ........................................................... 394
PORTC Register............................................................... 134
PORTD ............................................................................. 136
Additional Pin Functions
ANSELD Register............................................. 136
Associated Registers................................................ 138
P1B/P1C/P1D.See Enhanced Capture/Compare/
PWM+ (ECCP+) ............................................... 136
Pin Descriptions and Diagrams ................................ 136
PORTD Register................................................... 32, 34
PORTD Register............................................................... 137
PORTE ............................................................................. 139