HAL
LL_DMA2D_InitTypeDef is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_DMA2D_InitTypeDef struct

LL DMA2D Init Structure Definition

Syntax

typedef struct {   uint32_t Mode;                    uint32_t ColorMode;               uint32_t OutputBlue;              uint32_t OutputGreen;             uint32_t OutputRed;               uint32_t OutputAlpha;             uint32_t OutputMemoryAddress;     uint32_t LineOffset;              uint32_t NbrOfLines;              uint32_t NbrOfPixelsPerLines;   } LL_DMA2D_InitTypeDef;

Fields

Mode

Specifies the DMA2D transfer mode. - This parameter can be one value of DMA2D_LL_EC_MODE. This parameter can be modified afterwards, using unitary function LL_DMA2D_SetMode(). Read more...

ColorMode

Specifies the color format of the output image. - This parameter can be one value of DMA2D_LL_EC_OUTPUT_COLOR_MODE. This parameter can be modified afterwards using, unitary function LL_DMA2D_SetOutputColorMode(). Read more...

OutputBlue

Specifies the Blue value of the output image. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if ARGB8888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if RGB888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x1F if RGB565 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x1F if ARGB1555 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x0F if ARGB4444 color mode is selected. This parameter can be modified afterwards, using unitary function LL_DMA2D_SetOutputColor() or configuration function LL_DMA2D_ConfigOutputColor(). Read more...

OutputGreen

Specifies the Green value of the output image. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if ARGB8888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if RGB888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x3F if RGB565 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x1F if ARGB1555 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x0F if ARGB4444 color mode is selected. This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputColor() or configuration function LL_DMA2D_ConfigOutputColor(). Read more...

OutputRed

Specifies the Red value of the output image. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if ARGB8888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if RGB888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x1F if RGB565 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x1F if ARGB1555 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x0F if ARGB4444 color mode is selected. This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputColor() or configuration function LL_DMA2D_ConfigOutputColor(). Read more...

OutputAlpha

Specifies the Alpha channel of the output image. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0xFF if ARGB8888 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x01 if ARGB1555 color mode is selected. - This parameter must be a number between: Min_Data = 0x00 and Max_Data = 0x0F if ARGB4444 color mode is selected. - This parameter is not considered if RGB888 or RGB565 color mode is selected. This parameter can be modified afterwards using, unitary function LL_DMA2D_SetOutputColor() or configuration function LL_DMA2D_ConfigOutputColor(). Read more...

OutputMemoryAddress

Specifies the memory address. - This parameter must be a number between: Min_Data = 0x0000 and Max_Data = 0xFFFFFFFF. This parameter can be modified afterwards, using unitary function LL_DMA2D_SetOutputMemAddr(). Read more...

LineOffset

Specifies the output line offset value. - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFF. This parameter can be modified afterwards, using unitary function LL_DMA2D_SetLineOffset(). Read more...

NbrOfLines

Specifies the number of lines of the area to be transferred. - This parameter must be a number between: Min_Data = 0x0000 and Max_Data = 0xFFFF. This parameter can be modified afterwards, using unitary function LL_DMA2D_SetNbrOfLines(). Read more...

NbrOfPixelsPerLines

Specifies the number of pixels per lines of the area to be transferred. - This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFF. This parameter can be modified afterwards using, unitary function LL_DMA2D_SetNbrOfPixelsPerLines(). Read more...