VII LCD CONTROLLER BLOCK: LCD CONTROLLER
B-VII-2-14
EPSON
S1C33L03 FUNCTION PART
Color-mode look-up tables
In color mode, the LCD controller uses the red (R), green (G), and blue (B) look-up tables. Each color
element is represented by 4-bit data. RGB = 000 is black, RGB = F00 is red, RGB = 080 is 50% luminance
green, RGB = F0F is magenta, RGB = FFF is white, and so on. In this way, colors are determined by the
proportions of the three color elements. If the luminance of each color element is represented by 4 bits, then
we obtain 16
×
16
×
16 = 4,096 colors. Of these, select as many pieces of color data as can be used for the
available display mode (2, 4, 16, or 256 colors), and write them to the valid entries of the look-up tables
before using the LCD panel.
In personal-computer applications, the luminance of each color element is generally represented by 8 bits
(0x00 to 0xFF). To set up the LCD panel by referring to those colors, write the 4 high-order bits of that data
to the look-up tables.
The differences in configurations between display modes are shown below.
(1) 1-bpp (2-color) mode
Use the first two entries of each look-up table. Select 2-color data from among the 4,096 colors, and write it
to the respective entries. The RGB data in entry 0 is output for pixel data "0", and the RGB data in entry 1 is
output for pixel data "1". For monochrome display, write 0x0 to entry 0 and 0xF to entry 1 in each of the red,
green, and blue look-up tables before using the LCD panel.
4-bit R display data
Red look-up table
Index
Unused
0
1
2
:
15
4-bit R data for pixel data "0"
4-bit R data for pixel data "1"
4-bit G display data
Green look-up table
Index
Unused
0
1
2
:
15
4-bit G data for pixel data "0"
4-bit G data for pixel data "1"
4-bit B display data
Blue look-up table
Index
Unused
0
1
2
:
15
4-bit B data for pixel data "0"
4-bit B data for pixel data "1"
1-bit pixel data
"0"
"1"
Figure 2.12 Look-up Table in 1-bpp (2-Color) Mode
Table 2.9 shows an example of the basic data setting.
Table 2.9 Example of Look-up-Table Settings in 1-bpp (2-Color) Mode
Index
R look-up table
G look-up table
B look-up table
0
0
0
0
1
0xF
0xF
0xF
2–15
0
0
0
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......