Datasheet

Table Of Contents
2011 Microchip Technology Inc. Preliminary DS41569A-page 187
PIC16LF1904/6/7
REGISTER 19-1: LCDCON: LIQUID CRYSTAL DISPLAY (LCD) CONTROL REGISTER
R/W-0/0 R/W-0/0 R/C-0/0 U-0 R/W-0/0 R/W-0/0 R/W-1/1 R/W-1/1
LCDEN SLPEN WERR
CS<1:0> LMUX<1:0>
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
u = Bit is unchanged x = Bit is unknown -n/n = Value at POR and BOR/Value at all other Resets
‘1’ = Bit is set ‘0’ = Bit is cleared C = Only clearable bit
bit 7 LCDEN: LCD Driver Enable bit
1 = LCD driver module is enabled
0 = LCD driver module is disabled
bit 6 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
bit 5 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
bit 4 Unimplemented: Read as ‘0
bit 3-2 CS<1:0>: Clock Source Select bits
00 = F
OSC/256
01 = T1OSC (Timer1)
1x = LFINTOSC (31 kHz)
bit 1-0 LMUX<1:0>: Commons Select bits
Note 1: On these devices, COM3 and SEG15 are shared on one pin, limiting the device from driving 72 segments.
LMUX<1:0> Multiplex
Maximum Number of Pixels
Bias
PIC16LF1906 PIC16LF1904/7
00 Static (COM0) 19 29 Static
01 1/2 (COM<1:0>) 38 58 1/2 or 1/3
10 1/3 (COM<2:0>) 57 87 1/2 or 1/3
11 1/4 (COM<3:0>) 72
(1)
116 1/3