Table 40-6. 8-bit Indexed Color Memory Mapping, Little Endian
Organization
Mem. addr. |
0x3 |
0x2 |
0x1 |
0x0 |
Bit |
31 |
30 |
29 |
28 |
27 |
26 |
25 |
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 |
Pixel 8 bpp |
IDX3 |
IDX2 |
IDX1 |
IDX0 |
The 8-bit Indexed Color mode uses the Color Look-Up Table (CLUT) defined by the GFX2D_CFGx.IDXCX bit.
Table 40-7. 32-bpp Final Color Used at the Input of the Alpha Blending
Stage
Mem. addr. |
0x3 |
0x2 |
0x1 |
0x0 |
Bit |
31 |
30 |
29 |
28 |
27 |
26 |
25 |
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 |
1st pixel |
CLUT[IDX0].A |
CLUT[IDX0].R |
CLUT[IDX0].G |
CLUT[IDX0].B |
2nd pixel |
CLUT[IDX1].A |
CLUT[IDX1].R |
CLUT[IDX1].G |
CLUT[IDX1].B |
3rd pixel |
CLUT[IDX2].A |
CLUT[IDX2].R |
CLUT[IDX2].G |
CLUT[IDX2].B |
4th pixel |
CLUT[IDX3].A |
CLUT[IDX3].R |
CLUT[IDX3].G |
CLUT[IDX3].B |