LCD-TFT Controller (LTDC)
RM0090
504/1731
DocID018909 Rev 11
16.7.20 LTDC Layerx Default Color Configuration Register (LTDC_LxDCCR)
(where x=1..2)
This register defines the default color of a layer in the format ARGB. The default color is
used outside the defined layer window or when a layer is disabled. The reset value of
0x00000000 defines a transparent black color.
Address offset: 0x9C + 0x80 x (
Layerx
-1),
Layerx
= 1 or 2
Reset value: 0x0000 0000
Bits 31:8 Reserved, must be kept at reset value
Bits 7:0
CONSTA[7:0]
: Constant Alpha
These bits configure the Constant Alpha used for blending. The Constant Alpha is divided
by 255 by hardware.
Example: if the programmed Constant Alpha is 0xFF, the Constant Alpha value is
255/255=1
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
DCALPHA[7:0]
DCRED[7:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
DCGREEN[7:0]
DCBLUE[7:0]
rw
rw
rw
rw
rw
rw
rw
rw
rw
Bits 31:24
DCALPHA[7:0]
: Default Color Alpha
These bits configure the default alpha value
Bits 23:16
DCRED[7:0]
: Default Color Red
These bits configure the default red value
Bits 15:8
DCGREEN[7:0]
: Default Color Green
These bits configure the default green value
Bits 7:0
DCBLUE[7:0]
: Default Color Blue
These bits configure the default blue value