26 LCD CONTROLLER (LCDC)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
26-15
Table 26.5.4.2 lists the number of displayable colors/gray levels in different display modes and bpp modes.
5.4.2 Displayable Colors/Gray Levels
Table 26.
bpp mode
Color mode
Monochrome mode
LUT bypassed
LUTRAM used
LUT bypassed
MLUT used
1 bpp
Black & White
2 colors (entries)
out of 65,536 colors
*
3
Black & White
2 gray levels (entries)
out of 16 gray levels
2 bpp
4 gray levels
4 colors (entries)
out of 65,536 colors
*
3
4 gray levels
4 gray levels (entries)
out of 16 gray levels
4 bpp
16 gray levels
16 colors (entries)
out of 65,536 colors
*
3
16 gray levels
16 gray levels (entries)
out of 16 gray levels
8 bpp
256 colors
(R: 3 bits, G: 3 bits, B: 2 bits)
256 colors (entries)
out of 65,536 colors
*
3
12 bpp
4,096 colors
(R: 4 bits, G: 4 bits, B: 4 bits)
16 bpp
65,536 colors
*
1
(R: 5 bits, G: 6 bits, B: 5 bits)
24 bpp
16,777,216 colors
*
2
(R: 8 bits, G: 8 bits, B: 8 bits)
*
1: Limited to 4,096 colors in CSTN panels.
*
2: Cannot be used in CSTN panels.
*
3: The bit configuration of LUTRAM is R: 5 bits, G: 6 bits, and B: 5 bits.
The bpp mode is set using BPP[2:0]/LCDC_DISPMOD register.
5.4.3 Bpp Mode Settings
Table 26.
BPP[2:0]
bpp mode
0x7
Reserved
0x6
24 bpp
0x5
16 bpp
0x4
12 bpp
0x3
8 bpp
0x2
4 bpp
0x1
2 bpp
0x0
1 bpp
(Default: 0x0)
To display the number of colors shown above, VRAM data must be configured to the appropriate format with or
without the look-up table.
For detailed information on the VRAM data format and look-up tables, see Sections 26.5.5 to 26.5.7.
VRAM Data Format
26.5.5
This section describes the VRAM data format in each bpp mode.
Pixel data is placed in the VRAM beginning with the pixel at the upper-left corner of the screen. The subsequent
pixels in the first line follow the first pixel and then the second to last line data follow. Each byte begins with the
MSB and byte data are aligned in little-endian format. Color pixel data begins with Red bits, then Green and Blue
bits follow.