
ViiiPeRiPheRaLMoDuLes6(LCD):LCDContRoLLeR(LCDC)
s1C33L17teChniCaLManuaL
ePson
Viii-1-21
VIII
LCDC
Grayscale-modelook-uptables
In grayscale mode, the LCD controller uses only the green look-up table. For display in grayscale mode, select
the data to be written to the look-up table from the 64 gray levels represented by 6 bits. The data 0x0, 0x20,
and 0x3F represent black, 50% gray, and white, respectively. The differences in configuration between display
modes are shown below.
(1)1-bpp(2-gray-level)mode
Use the first two entries of the green look-up table. Select two pieces of data from the 64 gray levels, and write
them to the respective entries. The data in entry 0 is output for pixel data 0, and the data in entry 1 is output for
pixel data 1. For monochrome display, write 0x0 to entry 0 and 0x3F to entry 1 before using the LCD panel.
1-bitpixeldata
fromdisplaybuffer
0
1
6-bitdisplaydata
LUTPASS
Greenlook-uptable
Index
Unused
0
1
2
:
15
6-bitgrayscaledataforpixeldata0
6-bitgrayscaledataforpixeldata1
D[0,0,0,0,0,0]
FigureVIII.1.5.5.2Look-upTablein1-bpp(2-Gray-Level)Mode
Table VIII.1.5.5.1 shows an example of the basic data setting.
TableVIII.1.5.5.1ExampleofLook-up-TableSettingsin1-bpp(2-Gray-Level)Mode
index
0
1
2–15
Rlook-uptable
0
Glook-uptable
0
0xFC
0
Blook-uptable
0
Theabovetableshows8-bitvalues.Theycanbewrittentothelook-uptable
dataregistersandonlythehigh-order6bitsaresetintothelook-uptable(the
low-order2bitsareignored).
(2)2-bpp(4-gray-level)mode
Use the first four entries of the green look-up table. Select four pieces of data from the 64 gray levels, and write
them to the respective entries. The data in entry 0 is output for pixel data 00, and the data in entry 3 is output
for pixel data 11.
6-bitgrayscaledataforpixeldata00
6-bitgrayscaledataforpixeldata01
6-bitgrayscaledataforpixeldata10
6-bitgrayscaledataforpixeldata11
Greenlook-uptable
Index
Unused
0
1
2
3
4
:
15
2-bitpixeldata
fromdisplaybuffer
00
01
10
11
6-bitdisplaydata
LUTPASS
D[1,0,1,0,1,0]
FigureVIII.1.5.5.3Look-upTablein2-bpp(4-Gray-Level)Mode
Table VIII.1.5.5.2 shows an example of the basic data setting.
TableVIII.1.5.5.2ExampleofLook-up-TableSettingsin2-bpp(4-Gray-Level)Mode
index
0
1
2
3
4–15
Rlook-uptable
0
Glook-uptable
0
0x54
0xA8
0xFC
0
Blook-uptable
0
Theabovetableshows8-bitvalues.Theycanbewrittentothelook-uptable
dataregistersandonlythehigh-order6bitsaresetintothelook-uptable(the
low-order2bitsareignored).