STM32F439xx HAL User Manual
Defines | Functions
stm32f4xx_ll_dma2d.c File Reference

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.

Detailed Description

DMA2D LL module driver.

Author:
MCD Application Team
Attention:

© COPYRIGHT(c) 2017 STMicroelectronics

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of STMicroelectronics nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file stm32f4xx_ll_dma2d.c.


Define Documentation

#define assert_param (   expr)    ((void)0U)