Palette Usage - Samsung S5PC110 Manual

Risc microprocessor
Table of Contents

Advertisement

S5PC110_UM
1 0BDISPLAY CONTROLLER

1.3.5 PALETTE USAGE

1.3.5.1 Palette Configuration and Format Control
The display controller supports 256-color palette to select color mapping. You can select up to 256 colors from 32-
bit colors using these formats.
256 color palette consists of 256 (depth) × 32-bit SPSRAM. Palette supports 8:8:8, 6:6:6, 5:6:5 (R: G: B), and
other formats.
For Example:
See A:5:5:5 format, write palette, as shown in
Table
1-2.
Connect VD pin to TFT LCD panel (R(5)=VD[23:19], G(5)=VD[15:11], and B(5)=VD[7:3]). AEN bit controls the
blending function, enable or disable. Finally, set WPALCON (W1PAL, case window0) register to 0'b101. The 32-
bit (8:8:8:8) format has an alpha value directly, without using alpha value register (ALPHA_0/1).
Table 1-1
32BPP (8:8:8:8) Palette Data Format
Table 1-2
25BPP (A: 8:8:8) Palette Data Format
1-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents