Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual page 551

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

(4) 8-bpp (256-color) mode
One pixel is represented by 8 bits, displayed in 256 colors. This mode is not available for grayscale display.
In this mode, 256 discrete combinations are configured using eight entries in each of the red and green look-
up tables, and four entries in the blue look-up table. Bits 5–7 in one byte of pixel data are used as an index to
the red look-up table, while bits 2–4 and bits 0–1 are used as indices to the green and blue look-up tables,
respectively.
Pixel data
(bit 7)
R2 R1 R0 G2 G1 G0 B1 B0
3-bit
R pixel
data
3-bit
G pixel
data
B pixel
Table 2.12 shows an example of the basic data setting, using the display colors shown in Table 2.13.
Table 2.12 Example of Look-up-Table Settings in 8-bpp (256-Color) Mode
Index
8–15
Pixel data
000 000 00
000 000 10
000 100 00
000 100 10
100 000 00
100 000 10
100 100 00
100 100 10
S1C33L03 FUNCTION PART
(bit 0)
Index
"000"
0
"001"
1
"010"
2
"011"
3
"100"
4
"101"
5
"110"
6
"111"
7
Index
"000"
0
"001"
1
"010"
2
"011"
3
"100"
4
"101"
5
"110"
6
"111"
7
Index
"00"
0
2-bit
"01"
1
"10"
2
data
"11"
3
Figure 2.15 Look-up Table in 8-bpp (256-Color) Mode
R look-up table
0
0
1
3
2
5
3
7
4
9
5
0xB
6
0xD
7
0xF
0
Table 2.13 Display Colors in the Above Setup Example
Color
Black
Dark blue
Dark green
Dark cyan
Dark red
Dark magenta
Dark yellow
Gray
EPSON
VII LCD CONTROLLER BLOCK: LCD CONTROLLER
Red look-up table
4-bit R data for R pixel data "000"
4-bit R data for R pixel data "001"
4-bit R data for R pixel data "010"
4-bit R data for R pixel data "011"
4-bit R data for R pixel data "100"
4-bit R data for R pixel data "101"
4-bit R data for R pixel data "110"
4-bit R data for R pixel data "111"
Green look-up table
4-bit G data for G pixel data "000"
4-bit G data for G pixel data "001"
4-bit G data for G pixel data "010"
4-bit G data for G pixel data "011"
4-bit G data for G pixel data "100"
4-bit G data for G pixel data "101"
4-bit G data for G pixel data "110"
4-bit G data for G pixel data "111"
Blue look-up table
4-bit B data for B pixel data "00"
4-bit B data for B pixel data "01"
4-bit B data for B pixel data "10"
4-bit B data for B pixel data "11"
G look-up table
B look-up table
0
0
3
5
5
0xA
7
0xF
9
0
0xB
0
0xD
0
0xF
0
0
0
Pixel data
Color
000 000 00
Black
000 000 11
Bright blue
000 111 00
Bright green
000 111 11
Bright cyan
111 000 00
Bright red
111 000 11
Bright magenta
111 111 00
Bright yellow
111 111 11
White
A-1
4-bit R
display data
4-bit G
display data
4-bit B
display data
B-VII
LCDC
B-VII-2-17

Advertisement

Table of Contents
loading

Table of Contents