User's Manual

Table Of Contents
LCD CONTROLLER S3C2450X RISC MICROPROCESSOR
22-20
2.6 PALETTE USAGE
2.6.1 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.
Table 22-1. 25BPP(A:8:8:8) Palette Data Format
INDEX\
Bit Pos.
24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
00H AEN R7 R6 R5 R4 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0
01H AEN R7 R6 R5 R4 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0
....... ………………………… ………
FFH AEN R7 R6 R5 R4 R3 R2 R1 R0 G7 G6 G5 G4 G3 G2 G1 G0 B7 B6 B5 B4 B3 B2 B1 B0
Number
of VD
- 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0