Download Print this page

ST STM32L4+ Series Reference Manual page 441

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
13.5.10
DMA2D background PFC control register (DMA2D_BGPFCCR)
Address offset: 0x0024
Reset value: 0x0000 0000
31
30
29
rw
rw
rw
15
14
13
rw
rw
rw
Bits 31:24 ALPHA[7:0]: Alpha value
Bits 23:22 Reserved, must be kept at reset value.
Bit 21 RBS: Red Blue Swap
Bit 20 AI: AI: Alpha Inverted
Bits 19:18 Reserved, must be kept at reset value.
Bits 17:16 AM[1:0]: Alpha mode
Bits 15:8 CS[7:0]: CLUT size
Bits 7:6 Reserved, must be kept at reset value.
28
27
26
25
ALPHA[7:0]
rw
rw
rw
rw
12
11
10
9
CS[7:0]
rw
rw
rw
rw
These bits define a fixed alpha channel value which can replace the original alpha value
or be multiplied with the original alpha value according to the alpha mode selected with
bits AM[1:0]. These bits can only be written when data transfers are disabled. Once the
transfer has started, they are read-only.
This bit allows to swap the R & B to support BGR or ABGR color formats. Once the
transfer has started, this bit is read-only.
0: Regular mode (RGB or ARGB)
1: Swap mode (BGR or ABGR)
This bit inverts the alpha value. Once the transfer has started, this bit is read-only.
0: Regular alpha
1: Inverted alpha
These bits define which alpha channel value to be used for the background image.
These bits can only be written when data transfers are disabled. Once the transfer has
started, they are read-only.
00: No modification of the foreground image alpha channel value
01: Replace original background image alpha channel value by ALPHA[7:0]
10: Replace original background image alpha channel value by ALPHA[7:0] multiplied
with original alpha channel value
others: meaningless
These bits define the size of the CLUT used for the BG. Once the CLUT transfer has
started, this field is read-only.
The number of CLUT entries is equal to CS[7:0] + 1.
Chrom-ART Accelerator controller (DMA2D)
24
23
22
Res.
Res.
rw
8
7
6
Res.
Res.
START
rw
RM0432 Rev 6
21
20
19
18
RBS
AI
Res.
Res.
rw
rw
5
4
3
2
CCM
rs
rw
rw
rw
17
16
AM[1:0]
rw
rw
1
0
CM[3:0]
rw
rw
441/2301
452

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?