4 ram palette, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 292
![background image](/manuals/190592/292/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
292 of 792
NXP Semiconductors
UM10237
Chapter 12: LPC24XX LCD controller
6.4 RAM palette
The RAM-based palette is a 256 x 16 bit dual-port RAM physically structured as 128 x 32
bits. Two entries can be written into the palette from a single word write access. The Least
Significant Bit (LSB) of the serialized pixel data selects between upper and lower halves of
the palette RAM. The half that is selected depends on the byte ordering mode. In
little-endian mode, setting the LSB selects the upper half, but in big-endian mode, the
lower half of the palette is selected.
Table 249. RGB mode data formats
FIFO data
24-bit RGB
16-bit (1:5:5:5 RGB) 16-bit (5:6:5 RGB)
16-bit (4:4:4 RGB)
31
-
p1 intensity bit
p1, Blue 4
-
30
-
p1, Blue 4
p1, Blue 3
-
29
-
p1, Blue 3
p1, Blue 2
-
28
-
p1, Blue 2
p1, Blue 1
-
27
-
p1, Blue 1
p1, Blue 0
p1, Blue 3
26
-
p1, Blue 0
p1, Green 5
p1, Blue 2
25
-
p1, Green 4
p1, Green 4
p1, Blue 1
24
-
p1, Green 3
p1, Green 3
p1, Blue 0
23
p0, Blue 7
p1, Green 2
p1, Green 2
p1, Green 3
22
p0, Blue 6
p1, Green 1
p1, Green 1
p1, Green 2
21
p0, Blue 5
p1, Green 0
p1, Green 0
p1, Green 1
20
p0, Blue 4
p1, Red 4
p1, Red 4
p1, Green 0
19
p0, Blue 3
p1, Red 3
p1, Red 3
p1, Red 3
18
p0, Blue 2
p1, Red 2
p1, Red 2
p1, Red 2
17
p0, Blue 1
p1, Red 1
p1, Red 1
p1, Red 1
16
p0, Blue 0
p1, Red 0
p1, Red 0
p1, Red 0
15
p0, Green 7
p0 intensity bit
p0, Blue 4
-
14
p0, Green 6
p0, Blue 4
p0, Blue 3
-
13
p0, Green 5
p0, Blue 3
p0, Blue 2
-
12
p0, Green 4
p0, Blue 2
p0, Blue 1
-
11
p0, Green 3
p0, Blue 1
p0, Blue 0
p0, Blue 3
10
p0, Green 2
p0, Blue 0
p0, Green 5
p0, Blue 2
9
p0, Green 1
p0, Green 4
p0, Green 4
p0, Blue 1
8
p0, Green 0
p0, Green 3
p0, Green 3
p0, Blue 0
7
p0, Red 7
p0, Green 2
p0, Green 2
p0, Green 3
6
p0, Red 6
p0, Green 1
p0, Green 1
p0, Green 2
5
p0, Red 5
p0, Green 0
p0, Green 0
p0, Green 1
4
p0, Red 4
p0, Red 4
p0, Red 4
p0, Green 0
3
p0, Red 3
p0, Red 3
p0, Red 3
p0, Red 3
2
p0, Red 2
p0, Red 2
p0, Red 2
p0, Red 2
1
p0, Red 1
p0, Red 1
p0, Red 1
p0, Red 1
0
p0, Red 0
p0, Red 0
p0, Red 0
p0, Red 0