16-Bit Color Palette Register; Table 13-32. Palette Register; Table 13-33. Palette Register Use For Tft And Stn - Sharp Blue Treak LH75400 User Manual

System-on-chip preliminary
Table of Contents

Advertisement

LH75400/01/10/11 (Preliminary) User's Guide
13.3.2.12 256 × 16-bit Color Palette Register
The color map in the SoC of 65,535 colors is mapped into a group of palette entries, com-
prising the Palette Registers. The upper four bits of each palette entry is used for best con-
trast in STN displays. The palette is organized as seen in Table 13-32.
The Palette Registers contain 256 palette entries organized as 128 locations of two 16-bit
entries per word, forming a 32-bit word. TFT and STN displays use 12 of the palette entry
bits, yielding 3,375 colors of the total 32,768 colors. Each word location contains two pal-
ette entries. This means that 128 word locations are used for the palette. The color that is
displayed is based on the setting of bit [8] of the Control Register (see Section 13.4.5.2).
Due to the hardware requirements of STN displays, each palette entry is shifted left by one
bit. For TFT displays, bits 3:0 of the palettes are used. For color STN displays, bits [4:1] of
the red, blue and green palettes are used. For monochrome STN displays, only the red
palette bits [4:1] are used. Note that the palettes are accessed 32 bits at a time.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR

Table 13-32. Palette Register

31
30
29
28
27
///
BLUE PALETTE
RW
RW
RW
RW
RW
15
14
13
12
11
///
BLUE PALETTE
RW
RW
RW
RW
RW

Table 13-33. Palette Register Use for TFT and STN

BIT (TFT)
31:30
29:26
25
24:21
20
19:16
15:14
13:10
9
8:5
4
3:0
NOTE: Blue and red palette data can swap places, depending on
the setting of bit [8] of the LCD Control Register
(see Section 13.3.2.8).
Color Liquid Crystal Display Controller
26
25
24
23
GREEN PALETTE
RW
RW
RW
RW
10
9
8
7
GREEN PALETTE
RW
RW
RW
RW
0xFFFF4000 + 0x200 to 0xFFFF4000 + 0x3FC
BIT (STN)
NAME
31
///
Unused
30:27
B[3:0]
Blue palette data
26
///
Unused
25:22
G[3:0]
Green palette data
21
///
Unused
20:17
R[3:0]
Red palette data
16:15
///
Unused
14:11
B[3:0]
Blue palette data
10
///
Unused
9:6
G[3:0]
Green palette data
5
///
Unused
4:1
R[3:0]
Red palette data
0
///
Unused
7/15/03
22
21
20
19
18
RED PALETTE
RW
RW
RW
RW
RW
6
5
4
3
2
RED PALETTE
RW
RW
RW
RW
RW
DESCRIPTION
17
16
RW
RW
1
0
RW
RW
13-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Blue treak lh75401Blue treak lh75410Blue treak lh75411

Table of Contents