STM32F439xx HAL User Manual
Functions
Foreground Configuration Functions
Configuration Functions

Functions

__STATIC_INLINE void LL_DMA2D_FGND_SetMemAddr (DMA2D_TypeDef *DMA2Dx, uint32_t MemoryAddress)
 Set DMA2D foreground memory address, expressed on 32 bits ([31:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetMemAddr (DMA2D_TypeDef *DMA2Dx)
 Get DMA2D foreground memory address, expressed on 32 bits ([31:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_EnableCLUTLoad (DMA2D_TypeDef *DMA2Dx)
 Enable DMA2D foreground CLUT loading.
__STATIC_INLINE uint32_t LL_DMA2D_FGND_IsEnabledCLUTLoad (DMA2D_TypeDef *DMA2Dx)
 Indicate if DMA2D foreground CLUT loading is enabled.
__STATIC_INLINE void LL_DMA2D_FGND_SetColorMode (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode)
 Set DMA2D foreground color mode.
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetColorMode (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground color mode.
__STATIC_INLINE void LL_DMA2D_FGND_SetAlphaMode (DMA2D_TypeDef *DMA2Dx, uint32_t AphaMode)
 Set DMA2D foreground alpha mode.
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetAlphaMode (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground alpha mode.
__STATIC_INLINE void LL_DMA2D_FGND_SetAlpha (DMA2D_TypeDef *DMA2Dx, uint32_t Alpha)
 Set DMA2D foreground alpha value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetAlpha (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground alpha value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetLineOffset (DMA2D_TypeDef *DMA2Dx, uint32_t LineOffset)
 Set DMA2D foreground line offset, expressed on 14 bits ([13:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetLineOffset (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground line offset, expressed on 14 bits ([13:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetColor (DMA2D_TypeDef *DMA2Dx, uint32_t Red, uint32_t Green, uint32_t Blue)
 Set DMA2D foreground color values, expressed on 24 bits ([23:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetRedColor (DMA2D_TypeDef *DMA2Dx, uint32_t Red)
 Set DMA2D foreground red color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetRedColor (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground red color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetGreenColor (DMA2D_TypeDef *DMA2Dx, uint32_t Green)
 Set DMA2D foreground green color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetGreenColor (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground green color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetBlueColor (DMA2D_TypeDef *DMA2Dx, uint32_t Blue)
 Set DMA2D foreground blue color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetBlueColor (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground blue color value, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTMemAddr (DMA2D_TypeDef *DMA2Dx, uint32_t CLUTMemoryAddress)
 Set DMA2D foreground CLUT memory address, expressed on 32 bits ([31:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTMemAddr (DMA2D_TypeDef *DMA2Dx)
 Get DMA2D foreground CLUT memory address, expressed on 32 bits ([31:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTSize (DMA2D_TypeDef *DMA2Dx, uint32_t CLUTSize)
 Set DMA2D foreground CLUT size, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTSize (DMA2D_TypeDef *DMA2Dx)
 Get DMA2D foreground CLUT size, expressed on 8 bits ([7:0] bits).
__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTColorMode (DMA2D_TypeDef *DMA2Dx, uint32_t CLUTColorMode)
 Set DMA2D foreground CLUT color mode.
__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTColorMode (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D foreground CLUT color mode.

Function Documentation

__STATIC_INLINE void LL_DMA2D_FGND_EnableCLUTLoad ( DMA2D_TypeDef *  DMA2Dx)

Enable DMA2D foreground CLUT loading.

Reference Manual to LL API cross reference:
FGPFCCR START LL_DMA2D_FGND_EnableCLUTLoad
Parameters:
DMA2DxDMA2D Instance
Return values:
None

Definition at line 823 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetAlpha ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground alpha value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGPFCCR ALPHA LL_DMA2D_FGND_GetAlpha
Parameters:
DMA2DxDMA2D Instance
Return values:
Alphavalue between Min_Data=0 and Max_Data=0xFF

Definition at line 931 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetAlphaMode ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground alpha mode.

Reference Manual to LL API cross reference:
FGPFCCR AM LL_DMA2D_FGND_GetAlphaMode
Parameters:
DMA2DxDMA2D Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 908 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetBlueColor ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground blue color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR BLUE LL_DMA2D_FGND_GetBlueColor
Parameters:
DMA2DxDMA2D Instance
Return values:
Bluecolor value between Min_Data=0 and Max_Data=0xFF

Definition at line 1040 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTColorMode ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground CLUT color mode.

Reference Manual to LL API cross reference:
FGPFCCR CCM LL_DMA2D_FGND_GetCLUTColorMode
Parameters:
DMA2DxDMA2D Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 1113 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTMemAddr ( DMA2D_TypeDef *  DMA2Dx)

Get DMA2D foreground CLUT memory address, expressed on 32 bits ([31:0] bits).

Reference Manual to LL API cross reference:
FGCMAR MA LL_DMA2D_FGND_GetCLUTMemAddr
Parameters:
DMA2DxDMA2D Instance
Return values:
ForegroundCLUT memory address value between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 1063 of file stm32f4xx_ll_dma2d.h.

References LL_DMA2D_ReadReg.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetCLUTSize ( DMA2D_TypeDef *  DMA2Dx)

Get DMA2D foreground CLUT size, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGPFCCR CS LL_DMA2D_FGND_GetCLUTSize
Parameters:
DMA2DxDMA2D Instance
Return values:
ForegroundCLUT size value between Min_Data=0 and Max_Data=0xFF

Definition at line 1086 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetColorMode ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground color mode.

Reference Manual to LL API cross reference:
FGPFCCR CM LL_DMA2D_FGND_GetColorMode
Parameters:
DMA2DxDMA2D Instance
Return values:
Returnedvalue can be one of the following values:

Definition at line 879 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetGreenColor ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground green color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR GREEN LL_DMA2D_FGND_GetGreenColor
Parameters:
DMA2DxDMA2D Instance
Return values:
Greencolor value between Min_Data=0 and Max_Data=0xFF

Definition at line 1017 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetLineOffset ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground line offset, expressed on 14 bits ([13:0] bits).

Reference Manual to LL API cross reference:
FGOR LO LL_DMA2D_FGND_GetLineOffset
Parameters:
DMA2DxDMA2D Instance
Return values:
Foregroundline offset value between Min_Data=0 and Max_Data=0x3FF

Definition at line 954 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetMemAddr ( DMA2D_TypeDef *  DMA2Dx)

Get DMA2D foreground memory address, expressed on 32 bits ([31:0] bits).

Reference Manual to LL API cross reference:
FGMAR MA LL_DMA2D_FGND_GetMemAddr
Parameters:
DMA2DxDMA2D Instance
Return values:
Foregroundmemory address value between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 812 of file stm32f4xx_ll_dma2d.h.

References LL_DMA2D_ReadReg.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_GetRedColor ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D foreground red color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR RED LL_DMA2D_FGND_GetRedColor
Parameters:
DMA2DxDMA2D Instance
Return values:
Redcolor value between Min_Data=0 and Max_Data=0xFF

Definition at line 994 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE uint32_t LL_DMA2D_FGND_IsEnabledCLUTLoad ( DMA2D_TypeDef *  DMA2Dx)

Indicate if DMA2D foreground CLUT loading is enabled.

Reference Manual to LL API cross reference:
FGPFCCR START LL_DMA2D_FGND_IsEnabledCLUTLoad
Parameters:
DMA2DxDMA2D Instance
Return values:
Stateof bit (1 or 0).

Definition at line 834 of file stm32f4xx_ll_dma2d.h.

Referenced by LL_DMA2D_Init().

__STATIC_INLINE void LL_DMA2D_FGND_SetAlpha ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Alpha 
)

Set DMA2D foreground alpha value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGPFCCR ALPHA LL_DMA2D_FGND_SetAlpha
Parameters:
DMA2DxDMA2D Instance
AlphaValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 920 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetAlphaMode ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  AphaMode 
)

Set DMA2D foreground alpha mode.

Reference Manual to LL API cross reference:
FGPFCCR AM LL_DMA2D_FGND_SetAlphaMode
Parameters:
DMA2DxDMA2D Instance
AphaModeThis parameter can be one of the following values:
Return values:
None

Definition at line 894 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetBlueColor ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Blue 
)

Set DMA2D foreground blue color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR BLUE LL_DMA2D_FGND_SetBlueColor
Parameters:
DMA2DxDMA2D Instance
BlueValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 1029 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTColorMode ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  CLUTColorMode 
)

Set DMA2D foreground CLUT color mode.

Reference Manual to LL API cross reference:
FGPFCCR CCM LL_DMA2D_FGND_SetCLUTColorMode
Parameters:
DMA2DxDMA2D Instance
CLUTColorModeThis parameter can be one of the following values:
Return values:
None

Definition at line 1100 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTMemAddr ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  CLUTMemoryAddress 
)

Set DMA2D foreground CLUT memory address, expressed on 32 bits ([31:0] bits).

Reference Manual to LL API cross reference:
FGCMAR MA LL_DMA2D_FGND_SetCLUTMemAddr
Parameters:
DMA2DxDMA2D Instance
CLUTMemoryAddressValue between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values:
None

Definition at line 1052 of file stm32f4xx_ll_dma2d.h.

References LL_DMA2D_WriteReg.

Referenced by LL_DMA2D_ConfigLayer().

__STATIC_INLINE void LL_DMA2D_FGND_SetCLUTSize ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  CLUTSize 
)

Set DMA2D foreground CLUT size, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGPFCCR CS LL_DMA2D_FGND_SetCLUTSize
Parameters:
DMA2DxDMA2D Instance
CLUTSizeValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 1075 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetColor ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Red,
uint32_t  Green,
uint32_t  Blue 
)

Set DMA2D foreground color values, expressed on 24 bits ([23:0] bits).

Reference Manual to LL API cross reference:
FGCOLR RED LL_DMA2D_FGND_SetColor
Reference Manual to LL API cross reference:
FGCOLR GREEN LL_DMA2D_FGND_SetColor
Reference Manual to LL API cross reference:
FGCOLR BLUE LL_DMA2D_FGND_SetColor
Parameters:
DMA2DxDMA2D Instance
RedValue between Min_Data=0 and Max_Data=0xFF
GreenValue between Min_Data=0 and Max_Data=0xFF
BlueValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 970 of file stm32f4xx_ll_dma2d.h.

Referenced by LL_DMA2D_ConfigLayer().

__STATIC_INLINE void LL_DMA2D_FGND_SetColorMode ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  ColorMode 
)

Set DMA2D foreground color mode.

Reference Manual to LL API cross reference:
FGPFCCR CM LL_DMA2D_FGND_SetColorMode
Parameters:
DMA2DxDMA2D Instance
ColorModeThis parameter can be one of the following values:
Return values:
None

Definition at line 857 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetGreenColor ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Green 
)

Set DMA2D foreground green color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR GREEN LL_DMA2D_FGND_SetGreenColor
Parameters:
DMA2DxDMA2D Instance
GreenValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 1006 of file stm32f4xx_ll_dma2d.h.

__STATIC_INLINE void LL_DMA2D_FGND_SetLineOffset ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  LineOffset 
)

Set DMA2D foreground line offset, expressed on 14 bits ([13:0] bits).

Reference Manual to LL API cross reference:
FGOR LO LL_DMA2D_FGND_SetLineOffset
Parameters:
DMA2DxDMA2D Instance
LineOffsetValue between Min_Data=0 and Max_Data=0x3FF
Return values:
None

Definition at line 943 of file stm32f4xx_ll_dma2d.h.

Referenced by LL_DMA2D_ConfigLayer().

__STATIC_INLINE void LL_DMA2D_FGND_SetMemAddr ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  MemoryAddress 
)

Set DMA2D foreground memory address, expressed on 32 bits ([31:0] bits).

Reference Manual to LL API cross reference:
FGMAR MA LL_DMA2D_FGND_SetMemAddr
Parameters:
DMA2DxDMA2D Instance
MemoryAddressValue between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values:
None

Definition at line 801 of file stm32f4xx_ll_dma2d.h.

References LL_DMA2D_WriteReg.

Referenced by LL_DMA2D_ConfigLayer().

__STATIC_INLINE void LL_DMA2D_FGND_SetRedColor ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Red 
)

Set DMA2D foreground red color value, expressed on 8 bits ([7:0] bits).

Reference Manual to LL API cross reference:
FGCOLR RED LL_DMA2D_FGND_SetRedColor
Parameters:
DMA2DxDMA2D Instance
RedValue between Min_Data=0 and Max_Data=0xFF
Return values:
None

Definition at line 983 of file stm32f4xx_ll_dma2d.h.