STM32F479xx HAL User Manual
|
DMA2D LL module driver. More...
#include "stm32f4xx_ll_dma2d.h"
#include "stm32f4xx_ll_bus.h"
Go to the source code of this file.
Defines | |
#define | assert_param(expr) ((void)0U) |
#define | LL_DMA2D_COLOR 0xFFU |
#define | LL_DMA2D_NUMBEROFLINES DMA2D_NLR_NL |
#define | LL_DMA2D_NUMBEROFPIXELS (DMA2D_NLR_PL >> DMA2D_NLR_PL_Pos) |
#define | LL_DMA2D_OFFSET_MAX 0x3FFFU |
#define | LL_DMA2D_CLUTSIZE_MAX 0xFFU |
#define | IS_LL_DMA2D_MODE(MODE) |
#define | IS_LL_DMA2D_OCMODE(MODE_ARGB) |
#define | IS_LL_DMA2D_GREEN(GREEN) ((GREEN) <= LL_DMA2D_COLOR) |
#define | IS_LL_DMA2D_RED(RED) ((RED) <= LL_DMA2D_COLOR) |
#define | IS_LL_DMA2D_BLUE(BLUE) ((BLUE) <= LL_DMA2D_COLOR) |
#define | IS_LL_DMA2D_ALPHA(ALPHA) ((ALPHA) <= LL_DMA2D_COLOR) |
#define | IS_LL_DMA2D_OFFSET(OFFSET) ((OFFSET) <= LL_DMA2D_OFFSET_MAX) |
#define | IS_LL_DMA2D_LINE(LINES) ((LINES) <= LL_DMA2D_NUMBEROFLINES) |
#define | IS_LL_DMA2D_PIXEL(PIXELS) ((PIXELS) <= LL_DMA2D_NUMBEROFPIXELS) |
#define | IS_LL_DMA2D_LCMODE(MODE_ARGB) |
#define | IS_LL_DMA2D_CLUTCMODE(CLUTCMODE) |
#define | IS_LL_DMA2D_CLUTSIZE(SIZE) ((SIZE) <= LL_DMA2D_CLUTSIZE_MAX) |
#define | IS_LL_DMA2D_ALPHAMODE(MODE) |
Functions | |
ErrorStatus | LL_DMA2D_DeInit (DMA2D_TypeDef *DMA2Dx) |
De-initialize DMA2D registers (registers restored to their default values). | |
ErrorStatus | LL_DMA2D_Init (DMA2D_TypeDef *DMA2Dx, LL_DMA2D_InitTypeDef *DMA2D_InitStruct) |
Initialize DMA2D registers according to the specified parameters in DMA2D_InitStruct. | |
void | LL_DMA2D_StructInit (LL_DMA2D_InitTypeDef *DMA2D_InitStruct) |
Set each LL_DMA2D_InitTypeDef field to default value. | |
void | LL_DMA2D_ConfigLayer (DMA2D_TypeDef *DMA2Dx, LL_DMA2D_LayerCfgTypeDef *DMA2D_LayerCfg, uint32_t LayerIdx) |
Configure the foreground or background according to the specified parameters in the LL_DMA2D_LayerCfgTypeDef structure. | |
void | LL_DMA2D_LayerCfgStructInit (LL_DMA2D_LayerCfgTypeDef *DMA2D_LayerCfg) |
Set each LL_DMA2D_LayerCfgTypeDef field to default value. | |
void | LL_DMA2D_ConfigOutputColor (DMA2D_TypeDef *DMA2Dx, LL_DMA2D_ColorTypeDef *DMA2D_ColorStruct) |
Initialize DMA2D output color register according to the specified parameters in DMA2D_ColorStruct. | |
uint32_t | LL_DMA2D_GetOutputBlueColor (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode) |
Return DMA2D output Blue color. | |
uint32_t | LL_DMA2D_GetOutputGreenColor (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode) |
Return DMA2D output Green color. | |
uint32_t | LL_DMA2D_GetOutputRedColor (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode) |
Return DMA2D output Red color. | |
uint32_t | LL_DMA2D_GetOutputAlphaColor (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode) |
Return DMA2D output Alpha color. | |
void | LL_DMA2D_ConfigSize (DMA2D_TypeDef *DMA2Dx, uint32_t NbrOfLines, uint32_t NbrOfPixelsPerLines) |
Configure DMA2D transfer size. |
DMA2D LL module driver.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32f4xx_ll_dma2d.c.
#define assert_param | ( | expr | ) | ((void)0U) |
Definition at line 27 of file stm32f4xx_ll_dma2d.c.
Referenced by LL_DMA2D_ConfigLayer(), LL_DMA2D_ConfigOutputColor(), LL_DMA2D_DeInit(), LL_DMA2D_GetOutputAlphaColor(), LL_DMA2D_GetOutputBlueColor(), LL_DMA2D_GetOutputGreenColor(), LL_DMA2D_GetOutputRedColor(), and LL_DMA2D_Init().