Microchip Technology MA180025 データシート
2010 Microchip Technology Inc.
DS39933D-page 187
PIC18F87J90 FAMILY
17.1.2
LCD DATA REGISTERS
Once the module is initialized for the LCD panel, the
individual bits of the LCDDATA23:LCDDATA0 registers
are cleared or set to represent a clear or dark pixel,
respectively. Specific sets of LCDDATA registers are
used with specific segments and common signals.
Each bit represents a unique combination of a specific
segment connected to a specific common.
individual bits of the LCDDATA23:LCDDATA0 registers
are cleared or set to represent a clear or dark pixel,
respectively. Specific sets of LCDDATA registers are
used with specific segments and common signals.
Each bit represents a unique combination of a specific
segment connected to a specific common.
Individual LCDDATA bits are named by the convention
“SxxCy”, with “xx” as the segment number and “y” as
the common number. The relationship is summarized
in Table 17-2. The prototype LCDDATA register is
shown in Register 17-4.
“SxxCy”, with “xx” as the segment number and “y” as
the common number. The relationship is summarized
in Table 17-2. The prototype LCDDATA register is
shown in Register 17-4.
TABLE 17-2:
LCDDATA REGISTERS AND BITS FOR SEGMENT AND COM COMBINATIONS
Note:
In 64-pin devices, writing into the registers
LCDDATA5, LCDDATA11, LCDDATA17
and LCDDATA23, will not affect the status
of any pixels.
LCDDATA5, LCDDATA11, LCDDATA17
and LCDDATA23, will not affect the status
of any pixels.
REGISTER 17-4:
LCDDATAx: LCD DATA REGISTERS
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
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
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)
Segments
COM Lines
0
1
2
3
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
(2)
LCDDATA11
(2)
LCDDATA17
(2)
LCDDATA23
(2)
S40C0:S47C0
S40C1:S47C1
S40C2:S47C2
S40C3:S47C3
Note 1:
Bits<7:1> of these registers are not implemented in PIC18F6XJ90 devices. Bit 0 of these registers
(SEG32Cy) is always implemented.
(SEG32Cy) is always implemented.
2:
These registers are not implemented on PIC18F6XJ90 devices.