STM32L4xx_HAL_Driver  1.14.0
DMA2D Exported Init structures

Data Structures

struct  LL_DMA2D_InitTypeDef
 LL DMA2D Init Structure Definition. More...
 
struct  LL_DMA2D_LayerCfgTypeDef
 LL DMA2D Layer Configuration Structure Definition. More...
 
struct  LL_DMA2D_ColorTypeDef
 LL DMA2D Output Color Structure Definition. More...
 

Detailed Description


Data Structure Documentation

◆ LL_DMA2D_InitTypeDef

struct LL_DMA2D_InitTypeDef

LL DMA2D Init Structure Definition.

Definition at line 64 of file stm32l4xx_ll_dma2d.h.

Data Fields
uint32_t AlphaInversionMode

Specifies the output alpha inversion mode.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputAlphaInvMode().

uint32_t ColorMode

Specifies the color format of the output image.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputColorMode().

uint32_t LineOffset

Specifies the output line offset value.

  • This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFF on devices where the Line Offset Mode feature is available. else between Min_Data = 0x0000 and Max_Data = 0xFFFF on other devices.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetLineOffset().

uint32_t LineOffsetMode

Specifies the output line offset mode.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetLineOffsetMode().

uint32_t Mode

Specifies the DMA2D transfer mode.

  • This parameter can be one value of Mode.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetMode().

uint32_t 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().

uint32_t NbrOfPixelsPerLines

Specifies the number of pixels per lines of the area to be transfered.

  • 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().

uint32_t 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().

uint32_t 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().

uint32_t 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().

uint32_t 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().

uint32_t 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().

uint32_t OutputSwapMode

Specifies the output swap mode color format of the output image.

  • This parameter can be one value of Swap Mode.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputSwapMode().

uint32_t RBSwapMode

Specifies the output Red Blue swap mode.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputRBSwapMode().

◆ LL_DMA2D_LayerCfgTypeDef

struct LL_DMA2D_LayerCfgTypeDef

LL DMA2D Layer Configuration Structure Definition.

Definition at line 166 of file stm32l4xx_ll_dma2d.h.

Data Fields
uint32_t Alpha

Specifies the foreground or background Alpha value.

  • This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This parameter can be modified afterwards using unitary functions

uint32_t AlphaInversionMode

Specifies the foreground or background alpha inversion mode.

This parameter can be modified afterwards using unitary functions

uint32_t AlphaMode

Specifies the foreground or background alpha mode.

This parameter can be modified afterwards using unitary functions

uint32_t Blue

Specifies the foreground or background Blue color value.

  • This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This parameter can be modified afterwards using unitary functions

uint32_t CLUTColorMode

Specifies the foreground or background CLUT color mode.

This parameter can be modified afterwards using unitary functions

uint32_t CLUTMemoryAddress

Specifies the foreground or background CLUT memory address.

  • This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFFFFFF.

This parameter can be modified afterwards using unitary functions

uint32_t CLUTSize

Specifies the foreground or background CLUT size.

  • This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This parameter can be modified afterwards using unitary functions

uint32_t ColorMode

Specifies the foreground or background color mode.

This parameter can be modified afterwards using unitary functions

uint32_t Green

Specifies the foreground or background Green color value.

  • This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This parameter can be modified afterwards using unitary functions

uint32_t LineOffset

Specifies the foreground or background 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 functions

uint32_t MemoryAddress

Specifies the foreground or background memory address.

  • This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0xFFFFFFFF.

This parameter can be modified afterwards using unitary functions

uint32_t RBSwapMode

Specifies the foreground or background Red Blue swap mode. This parameter can be one value of Red Blue Swap .

This parameter can be modified afterwards using unitary functions

uint32_t Red

Specifies the foreground or background Red color value.

  • This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF.

This parameter can be modified afterwards using unitary functions

◆ LL_DMA2D_ColorTypeDef

struct LL_DMA2D_ColorTypeDef

LL DMA2D Output Color Structure Definition.

Definition at line 265 of file stm32l4xx_ll_dma2d.h.

Data Fields
uint32_t ColorMode

Specifies the color format of the output image.

This parameter can be modified afterwards using unitary function LL_DMA2D_SetOutputColorMode().

uint32_t 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().

uint32_t 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().

uint32_t 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().

uint32_t 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().