Samsung S3C2451X User Manual page 560

Risc microprocessor
Table of Contents

Advertisement

LCD CONTROLLER
PALETTE USAGE
Palette Configuration and Format Control
The LCD controller can support the 256 colors palette for various selection of color mapping.
The user can select 256 colors from the 24-bit colors through these four formats.
256 colors palette consist of the 256(depth) × 25-bit DPSRAM. Palette supports 8:8:8, 6:6:6, 5:6:5(R:G:B), and etc
format.
For example of A:5:5:5 format, write palette like Table 22-3 and then connect VD pin to LCD
panel( R(5)=VD[23:19], G(5)=VD[15:11], and B(5)=VD[7:3] ). Select Alpha value in Window 1 Alpha Value
Register. At the last, Set Window Palette Control(W0PAL, case window0) register to 0'b101.
INDEX\
24
23
22
Bit Pos.
00H
AEN
R7
R6
01H
AEN
R7
R6
.......
...
...
...
FFH
AEN
R7
R6
-
23
22
Number
of VD
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
22-20
Specifications and information herein are subject to change without notice.
Table 22-1. 25BPP(A:8:8:8) Palette Data Format
21
20
19
18
17
16
R5
R4
R3
R2
R1
R0
R5
R4
R3
R2
R1
R0
...
...
...
...
...
...
R5
R4
R3
R2
R1
R0
21
20
19
18
17
16
15
14
13
12
11
10
G7
G6
G5
G4
G3
G2
G7
G6
G5
G4
G3
G2
...
...
...
...
...
...
G7
G6
G5
G4
G3
G2
15
14
13
12
11
10
S3C2451X RISC MICROPROCESSOR
9
8
7
6
5
4
G1
G0
B7
B6
B5
B4
G1
G0
B7
B6
B5
B4
...
...
...
...
...
...
G1
G0
B7
B6
B5
B4
9
8
7
6
5
4
3
2
1
0
B3
B2
B1
B0
B3
B2
B1
B0
...
...
...
...
B3
B2
B1
B0
3
2
1
0

Advertisement

Chapters

Table of Contents
loading

Table of Contents