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

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

VII LCD CONTROLLER BLOCK: LCD CONTROLLER
Grayscale-mode look-up tables
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 16 gray levels represented by 4 bits. The data 0x0,
0x1, 0x8, and 0xF represent black, 93.75% gray, 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 16 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 0xF to entry 1 before using the
LCD panel.
1-bit pixel data "0"
Table 2.6 shows an example of the basic data setting.
Table 2.6 Example of Look-up-Table Settings in 1-bpp (2-Gray-Level) Mode
(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 16 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".
2-bit pixel data
Table 2.7 shows an example of the basic data setting.
Table 2.7 Example of Look-up-Table Settings in 2-bpp (4-Gray-Level) Mode
B-VII-2-12
Index
Green look-up table
0
4-bit grayscale data for pixel data "0"
"1"
1
4-bit grayscale data for pixel data "1"
2
:
15
Figure 2.9 Look-up Table in 1-bpp (2-Gray-Level) Mode
Index
R look-up table
0
0
1
0
2–15
0
Index
Green look-up table
"00"
0
4-bit grayscale data for pixel data "00"
"01"
1
4-bit grayscale data for pixel data "01"
"10"
2
4-bit grayscale data for pixel data "10"
"11"
3
4-bit grayscale data for pixel data "11"
4
:
15
Figure 2.10 Look-up Table in 2-bpp (4-Gray-Level) Mode
Index
R look-up table
0
0
1
0
2
0
3
0
4–15
0
Unused
G look-up table
0
0xF
0
Unused
G look-up table
0
5
0xA
0xF
0
EPSON
4-bit display data
B look-up table
0
0
0
4-bit display data
B look-up table
0
0
0
0
0
S1C33L03 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents