4、PALETTE USAGE调色板的使用
4.1、Palette Configuration and Format Control调色板配置和格式控制
The DISPLAY controller can support the 256 colors palette for various selection of color mapping.
The user can select 256 colors from the 25-bit colors through these four formats.
256 color 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
formats.
显示控制器支持256 种颜色的调色板,可以进行颜色映射的各种的选择。用户可以通过四种格式从25 位颜色中选择256 颜色。256 颜色调色包由256x25 位DPSRAM 组成。调色板支持8:8:8,6:6:6,5:6:5(R:G:B)等格式。
For example of A:5:5:5 format, write palette as specified in Table 14-2 and then connect VD pin to TFT LCD
panel( R(5)=VD[23:19], G(5)=VD[15:11], and B(5)=VD[7:3] ). The AEN bit controls the blending function enable or
disable. At the end, Set Window Palette Control (W0PAL, case window0) register to 0’b101.
例如A:5:5:5 格式,如表14-2 所示写调色板,将VD 管脚与TFT LCD 控制板相连
(R(5)=VD[23:19],G(5)=[15:11],B(5)=[7:3]).AEN 位控制混合功能可以使能或禁止。最后,设置窗口调色板控制寄存器位0’b101.

4.2、WINDOW BLENDING窗口混合
The main function of the VPRCS module is window blending. DISPLAY controller has 5 window layers and the
details are described below.
VPRCS 模块的主要功能是窗口混合。显示控制器有5 个窗口层,具体层的内容接下来会有具体的描述。
4.3、COLOR-KEY FUNCTION

