User`s manual

3: DISPLAY BUFFER
S1D13504 PROGRAMMING NOTES EPSON 2-11
AND EXAMPLES (S19A-G-002-06)
This recommended palette assumes that you are using only bank 0 of the three color components.
By programming in the above fashion the following colors will result:
15 bpp Color
Since the Look-Up Table is bypassed in this mode, the LUT programming is unimportant. The col-
ors on the display are derived from only the top 4 bits of each color combination. Resulting in a
maximum of 2
12
=4096 colors.
16 bpp Color
Since the Look-Up Table is bypassed in this mode, the LUT programming is unimportant. The col-
ors on the display are derived from only the top 4 bits of each color combination. Resulting in a
maximum of 2
12
=4096 colors.
Gray Shade Modes
In gray shade mode, the S1D13504 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 bpp Gray Shade
The S1D13504 has no true Black-and-White mode. 1 bpp Gray consists of a single bank of two
entries. For Black-and-White mode, the LUT entry must be programmed as such:
2 bpp Gray Shade
In 2 bpp gray shade mode, the 16 LUT entries are divided into four separate banks, each having four
entries:
4 bpp Gray Shade
In 4 bpp gray shade mode, the pixel value indexes into one of 16 LUT entries. The LUT bank bits
are ignored in this mode. The recommendation for this mode is to program the register values to data
values equalling the register number (i.e. G[0] = 0, G[1]=1, G[2]=2, ... G[F]=0Fh).
Table 3-12 Examples of 256 Pixel Colors Using Linear LUT
Pixel Value (binary) Color Pixel Value (binary) Color
000 000 00 black 000 000 00 black
000 000 10 dark blue 000 000 11 bright blue
000 100 00 dark green 000 111 00 bright green
000 100 10 dark cyan 000 111 11 bright cyan
100 000 00 dark red 111 000 00 bright red
100 000 10 dark magenta 111 000 11 bright magenta
100 100 00 dark yellow 111 111 00 bright yellow
100 100 10 gray 111 111 11 white
Table 3-13 Recommended LUT Values for 1 bpp Gray Shades
Index
(hex) Look-Up Table Data (hex)
00 00
01 0F
Table 3-14 Recommended LUT Values for 2 bpp Gray Shades
Index (hex) Look-Up Table Data (hex)
00 00
01 05
02 0A
03 0F