
ViiiPeRiPheRaLMoDuLes6(LCD):LCDContRoLLeR(LCDC)
s1C33L17teChniCaLManuaL
ePson
Viii-1-19
VIII
LCDC
(5)12-bpp(4K-color)mode
One pixel is represented by 12 bits, displayed in 4K colors.
In this mode, 4K discrete combinations are configured using 16 entries in each of the red, green and blue look-
up tables.
Data for two pixels is stored as three bytes in the display memory.
LUT
G03 G02 G01 G00 B03 B02 B01 B00
B13 B12 B11 B10 R03 R02 R01 R00
R13 R12 R11 R10 G13 G12 G11 G10
P0 P1 P2 P3 P4 P5 P6 P7
Pn=(Rn3–0,Gn3–0,Bn3–0)
Byte0
Byte1
Byte2
Displaymemory
LCDpanel
(bit7)
(bit0)
FigureVIII.1.5.4.6ColorDisplayDataFormatin12-bppMode
The look-up tables can be bypassed in this mode. In this case, the display data stored in the display memory di-
rectly specifies a color. The following figure shows the correspondence between the memory data and the pixel
data to be sent to the LCD panel.
R3 R2 R1 R0
G3 G2 G1 G0 B3 B2 B1 B0
MSB
Memorydata
Color12-bppmode
R3 R2
Displaydata(blue)
Displaydata(green)
Displaydata(red)
G3 G2 G1 G0 G3 G2
B3 B2 B1 B0 B3 B2
FigureVIII.1.5.4.7PixelDatawhenLUTisBypassed
(6)16-bpp(64K-color)mode
One pixel is represented by 16 bits, displayed in 64K colors.
Data for one pixel is stored as two bytes in the display memory.
LUT
G02 G01 G00 B04 B03 B02 B01 B00
R04 R03 R02 R01 R00 G05 G04 G03
G12 G11 G10 B14 B13 B12 B11 B10
R14 R13 R12 R11 R10 G15 G14 G13
P0 P1 P2 P3 P4 P5 P6 P7
Pn=(Rn4–0,Gn5–0,Bn4–0)
Byte0
Byte1
Byte2
Byte3
Displaymemory
LCDpanel
(bit7)
(bit0)
FigureVIII.1.5.4.8ColorDisplayDataFormatin16-bppMode
The look-up tables are bypassed in this mode, and the display data stored in the display memory directly speci-
fies a color. The following figure shows the correspondence between the memory data and the pixel data to be
sent to the LCD panel.
R4 R3 R2 R1 R0
R3
R4
R2 R1 R0
G5 G4 G3 G2 G1 G0 B4 B3 B2 B1 B0
MSB
Memorydata
Color16-bppmode
R4
Displaydata(blue)
Displaydata(green)
Displaydata(red)
G3
G4
G5
G2 G1 G0
B3
B4
B2 B1 B0 B4
FigureVIII.1.5.4.9PixelDatawhenLUTisBypassed
In addition to the bpp mode selection, set DITHEN (D6/0x301A60) to 1 to display in 64K colors (STN). When
DITHEN (D6/0x301A60) is set to 0, the number of colors that can be displayed is limited to 4K colors (STN).
DITHEN (D6/0x301A60) is only used for STN panel.
*Dithen:DitherModeEnableBitintheLCDCDisplayModeRegister(D6/0x301A60)