Datasheet

© 2007 Microchip Technology Inc. DS39629C-page 261
PIC18F6390/6490/8390/8490
TABLE 22-2: LCDDATA REGISTERS AND BITS FOR SEGMENT AND COM COMBINATIONS
Segments
COM Lines
0123
0 through 7
LCDDATA0 LCDDATA6 LCDDATA12 LCDDATA18
S00C0:S07C0 S00C1:S07C1 S00C2:S07C2 S00C3:S07C3
8 through 15
LCDDATA1 LCDDATA7 LCDDATA13 LCDDATA19
S08C0:S15C0 S08C1:S15C1 S08C2:S15C2 S08C0:S15C3
16 through 23
LCDDATA2 LCDDATA8 LCDDATA14 LCDDATA20
S16C0:S23C0 S16C1:S23C1 S16C2:S23C2 S16C3:S23C3
24 through 31
LCDDATA3 LCDDATA9 LCDDATA15 LCDDATA21
S24C0:S31C0 S24C1:S31C1 S24C2:S31C2 S24C3:S31C3
32 through 39
LCDDATA4
(1)
LCDDATA10
(1)
LCDDATA16
(1)
LCDDATA22
(1)
S32C0:S39C0 S32C1:S39C1 S32C2:S39C2 S32C3:S39C3
40 through 47
LCDDATA5
(1)
LCDDATA11
(1)
LCDDATA17
(1)
LCDDATA23
(1)
S40C0:S47C0 S40C1:S47C1 S40C2:S47C2 S40C3:S47C3
Note 1: These registers are implemented but not used as LCD data registers in 64-pin devices. They may be used
as general purpose data memory.
REGISTER 22-4: LCDDATAx: LCD DATAx REGISTER
R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0 R/W-0
S(n + 7)Cy S(n + 6)Cy S(n + 5)Cy S(n + 4)Cy S(n + 3)Cy S(n + 2)Cy S(n + 1)Cy S(n)Cy
bit 7 bit 0
Legend:
R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’
-n = Value at POR ‘1’ = Bit is set ‘0’ = Bit is cleared x = Bit is unknown
bit 7-0 S(n + 7)Cy:S(n)Cy: Pixel On bits
For LCDDATA0 through LCDDATA5: n = (8x), y = 0
For LCDDATA6 through LCDDATA11: n = (8(x – 6)), y = 1
For LCDDATA12 through LCDDATA17: n = (8(x – 12)), y = 2
For LCDDATA18 through LCDDATA23: n = (8(x – 18)), y = 3
1 = Pixel on (dark)
0 = Pixel off (clear)