English
Language : 

PIC16F1938_13 Datasheet, PDF (327/488 Pages) Microchip Technology – 28/40/44-Pin Flash-Based, 8-Bit CMOS Microcontrollers with LCD Driver
PIC16(L)F1938/9
27.2 Register Definitions: LCD Control
REGISTER 27-1: LCDCON: LIQUID CRYSTAL DISPLAY (LCD) CONTROL REGISTER
R/W-0/0
LCDEN
bit 7
R/W-0/0
SLPEN
R/C-0/0
WERR
U-0
R/W-0/0
R/W-0/0
R/W-1/1
R/W-1/1
—
CS<1:0>
LMUX<1:0>
bit 0
Legend:
R = Readable bit
u = Bit is unchanged
‘1’ = Bit is set
W = Writable bit
x = Bit is unknown
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
-n/n = Value at POR and BOR/Value at all other Resets
C = Only clearable bit
bit 7
bit 6
bit 5
bit 4
bit 3-2
bit 1-0
LCDEN: LCD Driver Enable bit
1 = LCD Driver module is enabled
0 = LCD Driver module is disabled
SLPEN: LCD Driver Enable in Sleep Mode bit
1 = LCD Driver module is disabled in Sleep mode
0 = LCD Driver module is enabled in Sleep mode
WERR: LCD Write Failed Error bit
1 = LCDDATAn register written while the WA bit of the LCDPS register = 0 (must be cleared in
software)
0 = No LCD write error
Unimplemented: Read as ‘0’
CS<1:0>: Clock Source Select bits
00 = FOSC/256
01 = T1OSC (Timer1)
1x = LFINTOSC (31 kHz)
LMUX<1:0>: Commons Select bits
LMUX<1:0> Multiplex
00
Static (COM0)
01
1/2 (COM<1:0>)
10
1/3 (COM<2:0>)
11
1/4 (COM<3:0>)
Maximum Number of Pixels
PIC16(L)F1938
16
32
48
60(1)
PIC16(L)F1939
24
48
72
96
Bias
Static
1/2 or 1/3
1/2 or 1/3
1/3
Note 1: On these devices, COM3 and SEG15 are shared on one pin, limiting the device from driving 64 pixels.
 2011-2013 Microchip Technology Inc.
DS40001574C-page 327