Renesas SH7781 User Manual

Page 945

Advertising
background image

19. Display Unit (DU)

Rev.1.00 Jan. 10, 2008 Page 915 of 1658

REJ09B0261-0100

19.3.48

Color Palette 1 Register 000 to 255 (CP1_000R to CP1_255R)

The color palette 1 registers 000 to 255 (CP1_000R to CP1_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:

Bit:

Initial value:

Bit:

Initial value:

16

17

18

19

20

21

22

23

24

25

26

27

28

29

31

30

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

CP1_000R to CP1_255R

CP1_000A to CP1_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

CP1_000B to CP1_255B

CP1_000G to CP1_255G

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

Bit Bit

Name

Initial
Value R/W

Internal
Update Description

31 to 24

CP1_000A to

CP1_255A

Undefined R/W

Yes

Color Palette 1_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

CP1_000R to

CP1_255R

Undefined R/W

Yes

Color Palette 1_000 to 255 Red

Red-color data of color palette 1 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

CP1_000G to

CP1_255G

Undefined R/W

Yes

Color Palette 1_000 to 255 Green

Green-color data of color palette 1 should be
set.

Advertising