Specifications

Color LCD Controller (CLCDC)
5-16 Copyright © 2004, 2006 ARM Limited. All rights reserved. ARM DDI 0287B
Pixel encoding
Each pixel of the cursor requires two bits of information that are interpreted as Color0,
Color1, Transparent, and Transparent inverted.
In the coding scheme, bit 1 selects between color and transparent (AND mask) and bit 0
selects variant (XOR mask).
Table 5-10 lists the pixel encoding bit assignments.
Table 5-10 Pixel encoding
Bits Description
[00] Color0. The cursor color is displayed according to the Red-Green-Blue (RGB) value
programmed into the CrsrPalette0 Register.
[01] Color1. The cursor color is displayed according to the RGB value programmed into
the CrsrPalette1 Register.
[10] Transparent. The cursor pixel is transparent, so is displayed unchanged. This enables
the visible cursor to assume shapes that are not square.
[11] Transparent inverted. The cursor pixel assumes the complementary color of the frame
pixel that is displayed. This can be used to ensure that the cursor is visible regardless
of the color of the frame buffer image.