Epson Research and Development
Page 23
Vancouver Design Center
Programming Notes and Examples
S1D13503
Issue Date: 01/01/30
X18A-G-002-06
3.2.2.2 Monochrome Mode
In monochrome mode, the S1D13503 treats the green LUT as a 16 position, 4 bit wide monochrome LUT. Depending on
the selected pixel size, this LUT will provide from 1 to 4 banks.
•
1 bit-per-pixel (black-and-white)
In this format no LUT is used. A pixel value of 0 is black, and a pixel value of 1 is white.
•
2 bits-per-pixel (4 gray shades)
In this format the pixel is an index into the monochrome LUT. The monochrome LUT supports 4 banks (see Section
3.2.4, “Four Gray Shades (Two Bits/Pixel in Monochrome Mode)” on page 26).
•
4 bits-per-pixel (16 gray shades)
In this format the pixel is an index into the monochrome LUT. The monochrome LUT supports only one bank (see
Section 3.2.6, “Sixteen Gray Shades (Four Bits/Pixel in Monochrome Mode)” on page 30).
Example 3:
Initialize the Look-Up Table for 256 Colors (Bank 0 Only)
Table 3-5 shows the color LUTs with intensities starting from black (index 0) and finishing in maximum color intensity (at
the largest index available for the color in bank 0). For example, the red LUT would have a maximum intensity at index
07h, the green LUT would have a maximum intensity at index 07h, and the blue LUT would have a maximum intensity at
index 03h. A normal display would use bank 0 for the red, green, and blue LUTs.
1.
Write LUT index to Look-Up Table Address Register AUX[0Eh], set to automatic increment mode.
2.
Write red LUT entry value to Look-Up Table Data Register AUX[0Fh].
3.
Write green LUT entry value to Look-Up Table Data Register AUX[0Fh].
4.
Write blue LUT entry value to Look-Up Table Data Register AUX[0Fh].
5.
Repeat steps 1-4 until all 16 LUT entries have been written.
Table 3-5: S1D13503 Color Look-up Table For 256 Color Mode
Index
(hex)
Red LUT
(hex)
Green LUT
(hex)
Blue LUT
(hex)
0
0
0
0
1
2
2
5
2
4
4
A
3
6
6
F
4
9
9
X
5
B
B
X
6
D
D
X
7
F
F
X
Where X is Don’t Care
electronic components distributor