STM32H735xx HAL User Manual
Defines | Functions
stm32h7xx_ll_dma2d.c File Reference

DMA2D LL module driver. More...

#include "stm32h7xx_ll_dma2d.h"
#include "stm32h7xx_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_MODE(MODE)
#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_SWAP_MODE(MODE)
#define IS_LL_DMA2D_ALPHAINV(ALPHA)
#define IS_LL_DMA2D_RBSWAP(RBSWAP)
#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)
#define IS_LL_DMA2D_CHROMA_SUB_SAMPLING(CSS)

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. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32h7xx_ll_dma2d.c.


Define Documentation

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