STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
DMA2D_LayerCfgTypeDef Struct Reference

DMA2D Layer structure definition. More...

#include <stm32f4xx_hal_dma2d.h>

Collaboration diagram for DMA2D_LayerCfgTypeDef:

Data Fields

uint32_t InputOffset
 
uint32_t InputColorMode
 
uint32_t AlphaMode
 
uint32_t InputAlpha
 

Detailed Description

DMA2D Layer structure definition.

Definition at line 85 of file stm32f4xx_hal_dma2d.h.

Field Documentation

◆ InputOffset

uint32_t DMA2D_LayerCfgTypeDef::InputOffset

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

Definition at line 87 of file stm32f4xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

◆ InputColorMode

uint32_t DMA2D_LayerCfgTypeDef::InputColorMode

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

Definition at line 91 of file stm32f4xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

◆ AlphaMode

uint32_t DMA2D_LayerCfgTypeDef::AlphaMode

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

Definition at line 94 of file stm32f4xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().

◆ InputAlpha

uint32_t DMA2D_LayerCfgTypeDef::InputAlpha

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 97 of file stm32f4xx_hal_dma2d.h.

Referenced by HAL_DMA2D_ConfigLayer().


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