Table 48. Supported Color Mode In Input - ST STM32L4 5 Series Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Chrom-Art Accelerator™ controller (DMA2D)
They are programmed through a set of control registers:
DMA2D foreground memory address register (DMA2D_FGMAR)
DMA2D foreground offset register (DMA2D_FGOR)
DMA2D background memory address register (DMA2D_BGMAR)
DMA2D background offset register (DMA2D_BGBOR)
DMA2D number of lines register (number of lines and pixel per lines) (DMA2D_NLR)
When the DMA2D operates in register-to-memory mode, none of the FIFOs is activated.
When the DMA2D operates in memory-to-memory mode (no pixel format conversion nor
blending operation), only the FG FIFO is activated and acts as a buffer.
When the DMA2D operates in memory-to-memory operation with pixel format conversion
(no blending operation), the BG FIFO is not activated.
12.3.4
DMA2D foreground and background pixel format converter (PFC)
DMA2D foreground pixel format converter (PFC) and background pixel format converter
perform the pixel format conversion to generate a 32-bit per pixel value. The PFC can also
modify the alpha channel.
The first stage of the converter converts the color format. The original color format of the
foreground pixel and background pixels are configured through the CM[3:0] bits of the
DMA2D_FGPFCCR and DMA2D_BGPFCCR, respectively.
The supported input formats are given in
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
360/1830

Table 48. Supported color mode in input

CM[3:0]
DocID024597 Rev 5
Table 48: Supported color mode in
RM0351
input.
Color mode
ARGB8888
RGB888
RGB565
ARGB1555
ARGB4444
L8
AL44
AL88
L4
A8
A4

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF