Renesas SH7781 User Manual
Page 948

19. Display Unit (DU)
Rev.1.00 Jan. 10, 2008 Page 918 of 1658
REJ09B0261-0100
19.3.50
Color Palette 3 Register 000 to 255 (CP3_000R to CP3_255R)
The color palette 3 registers 000 to 255 (CP3_000R to CP3_255R) are a group of 256 registers
which set six bits for each of the RGB components of a color, and are used as a color palette
capable of displaying 256 colors among 260,000 possible colors. Bits 31 to 24 are used as a blend
ratio. The values are valid for 8 bits/pixel data display.
For details of color palette operation, refer to section 19.4.8, Color Palettes.
Values are retained during power-on reset and manual reset.
R/W:
Internal update:
R/W:
Internal update:
16
17
18
19
20
21
22
23
24
25
26
27
28
29
31
30
Bit:
Initial value:
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
O
O
O
O
O
O
O
O
O
O
O
O
O
O
0
0
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
CP3_000R to CP3_255R
CP3_000A to CP3_255A
R
R
R/W
R/W
R/W
R/W
R/W
R/W
R
R
R/W
R/W
R/W
R/W
R/W
R/W
O
O
O
O
O
O
O
O
O
O
O
O
0
0
—
—
—
—
—
—
0
0
—
—
—
—
—
—
—
—
CP3_000B to CP3_255B
—
—
CP3_000G to CP3_255G
0
1
2
3
4
5
6
7
8
9
10
11
12
13
15
14
Bit:
Initial value:
Bit Bit
Name
Initial
Value R/W
Internal
Update Description
31 to 24
CP3_000A to
CP3_255A
Undefined R/W
Yes
Color Palette 3_000 to 255 Blending Ratio
To enable this bit, the ABRE bit in DEFR
should be set to 1. In the initial state, this bit is
not enabled.
When the PnBRSL bits in PnALPHAR are 10,
the value is the alpha value, which is the blend
ratio.
23 to 18
CP3_000R to
CP3_255R
Undefined R/W
Yes
Color Palette 3_000 to 255 Red
Red-color data of color palette 3 should be set.
17, 16
⎯ All
0
R
⎯ Reserved
These bits are always read as 0. The write
value should always be 0.
15 to 10
CP3_000G to
CP3_255G
Undefined R/W
Yes
Color Palette 3_000 to 255 Green
Green-color data of color palette 3 should be
set.