STM32H735xx HAL User Manual
Data Fields
DMA2D_LayerCfgTypeDef Struct Reference

DMA2D Layer structure definition. More...

#include <stm32h7xx_hal_dma2d.h>

Data Fields

uint32_t InputOffset
uint32_t InputColorMode
uint32_t AlphaMode
uint32_t InputAlpha
uint32_t AlphaInverted
uint32_t RedBlueSwap
uint32_t ChromaSubSampling

Detailed Description

DMA2D Layer structure definition.

Definition at line 95 of file stm32h7xx_hal_dma2d.h.


Field Documentation

Select regular or inverted alpha value. This parameter can be one value of DMA2D Alpha Inversion.

Definition at line 118 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Configures the DMA2D foreground or background alpha mode. This parameter can be one value of DMA2D Alpha Mode.

Definition at line 104 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Configure the chroma sub-sampling mode for the YCbCr color mode This parameter can be one value of DMA2D Chroma Sub Sampling

Definition at line 124 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Specifies the DMA2D foreground or background alpha value and color value in case of A8 or A4 color mode. This parameter must be a number between Min_Data = 0x00 and Max_Data = 0xFF except for the color modes detailed below.

Note:
In case of A8 or A4 color mode (ARGB), this parameter must be a number between Min_Data = 0x00000000 and Max_Data = 0xFFFFFFFF where
  • InputAlpha[24:31] is the alpha value ALPHA[0:7]
  • InputAlpha[16:23] is the red value RED[0:7]
  • InputAlpha[8:15] is the green value GREEN[0:7]
  • InputAlpha[0:7] is the blue value BLUE[0:7].

Definition at line 107 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Configures the DMA2D foreground or background color mode. This parameter can be one value of DMA2D Input Color Mode.

Definition at line 101 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Configures the DMA2D foreground or background offset. This parameter must be a number between Min_Data = 0x0000 and Max_Data = 0x3FFF.

Definition at line 97 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

Select regular mode (RGB or ARGB) or swap mode (BGR or ABGR). This parameter can be one value of DMA2D Red and Blue Swap.

Definition at line 121 of file stm32h7xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().


The documentation for this struct was generated from the following file: