Color Liquid Crystal Display Controller LH79524/LH79525 User’s Guide
4-36 Version 1.0
4.5.3.12 256 × 16-bit Color Palette Register (PALETTE)
The PALETTE Registers contain 256 palette entries organized as 128 locations of two
entries per word. TFT displays use 12 of the palette entry bits. Each word location contains
two palette 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 4.5.6.2).
For color STN displays, only bits [4:1] of red, blue, and green palettes are used. For mono-
chrome STN displays, only the red palette bits [4:1] are used.
Table 4-38. PALETTE Register (LH79525 with 12-Bit CLCDC)
BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIELD /// MB[3:0] /// MG[3:0] /// MR[3:0] ///
RESET ———————
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
BIT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIELD /// LB[3:0] /// LG[3:0] /// LR[3:0] ///
RESET ———————
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
ADDR 0xFFFF4000 + 0x200 to 0xFFFF4000 + 0x3FC
Table 4-39. PALETTE Fields (LH79525 with 12-Bit CLCDC)
BIT NAME DESCRIPTION
31 /// Unused. Writes have no effect.
30:27 MB[3:0] Most Significant Blue palette data
26 /// Reserved Reading returns 0. Write the reset value.
25:22 MG[3:0] Most Significant Green palette data
21 /// Reserved Reading returns 0. Write the reset value.
20:17 MR[3:0] Most Significant Red palette data
16:15 /// Reserved Reading returns 0. Write the reset value.
14:11 LB[3:0] Least Significant Blue palette data
10 /// Reserved Reading returns 0. Write the reset value.
9:6 LG[3:0] Least Significant Green palette data
5///Reserved Reading returns 0. Write the reset value.
4:1 LR[3:0] Least Significant Red palette data
0///Reserved Reading returns 0. Write the reset value.