STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for Configuration Functions:

Modules

 Foreground Configuration Functions
 
 Background Configuration Functions
 

Functions

__STATIC_INLINE void LL_DMA2D_Start (DMA2D_TypeDef *DMA2Dx)
 Start a DMA2D transfer. @rmtoll CR START LL_DMA2D_Start. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_IsTransferOngoing (DMA2D_TypeDef *DMA2Dx)
 Indicate if a DMA2D transfer is ongoing. @rmtoll CR START LL_DMA2D_IsTransferOngoing. More...
 
__STATIC_INLINE void LL_DMA2D_Suspend (DMA2D_TypeDef *DMA2Dx)
 Suspend DMA2D transfer. More...
 
__STATIC_INLINE void LL_DMA2D_Resume (DMA2D_TypeDef *DMA2Dx)
 Resume DMA2D transfer. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_IsSuspended (DMA2D_TypeDef *DMA2Dx)
 Indicate if DMA2D transfer is suspended. More...
 
__STATIC_INLINE void LL_DMA2D_Abort (DMA2D_TypeDef *DMA2Dx)
 Abort DMA2D transfer. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_IsAborted (DMA2D_TypeDef *DMA2Dx)
 Indicate if DMA2D transfer is aborted. More...
 
__STATIC_INLINE void LL_DMA2D_SetMode (DMA2D_TypeDef *DMA2Dx, uint32_t Mode)
 Set DMA2D mode. @rmtoll CR MODE LL_DMA2D_SetMode. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetMode (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D mode @rmtoll CR MODE LL_DMA2D_GetMode. More...
 
__STATIC_INLINE void LL_DMA2D_SetOutputColorMode (DMA2D_TypeDef *DMA2Dx, uint32_t ColorMode)
 Set DMA2D output color mode. @rmtoll OPFCCR CM LL_DMA2D_SetOutputColorMode. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetOutputColorMode (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D output color mode. @rmtoll OPFCCR CM LL_DMA2D_GetOutputColorMode. More...
 
__STATIC_INLINE void LL_DMA2D_SetLineOffset (DMA2D_TypeDef *DMA2Dx, uint32_t LineOffset)
 Set DMA2D line offset, expressed on 14 bits ([13:0] bits). @rmtoll OOR LO LL_DMA2D_SetLineOffset. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetLineOffset (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D line offset, expressed on 14 bits ([13:0] bits). @rmtoll OOR LO LL_DMA2D_GetLineOffset. More...
 
__STATIC_INLINE void LL_DMA2D_SetNbrOfPixelsPerLines (DMA2D_TypeDef *DMA2Dx, uint32_t NbrOfPixelsPerLines)
 Set DMA2D number of pixels per lines, expressed on 14 bits ([13:0] bits). @rmtoll NLR PL LL_DMA2D_SetNbrOfPixelsPerLines. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetNbrOfPixelsPerLines (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D number of pixels per lines, expressed on 14 bits ([13:0] bits) @rmtoll NLR PL LL_DMA2D_GetNbrOfPixelsPerLines. More...
 
__STATIC_INLINE void LL_DMA2D_SetNbrOfLines (DMA2D_TypeDef *DMA2Dx, uint32_t NbrOfLines)
 Set DMA2D number of lines, expressed on 16 bits ([15:0] bits). @rmtoll NLR NL LL_DMA2D_SetNbrOfLines. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetNbrOfLines (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D number of lines, expressed on 16 bits ([15:0] bits). @rmtoll NLR NL LL_DMA2D_GetNbrOfLines. More...
 
__STATIC_INLINE void LL_DMA2D_SetOutputMemAddr (DMA2D_TypeDef *DMA2Dx, uint32_t OutputMemoryAddress)
 Set DMA2D output memory address, expressed on 32 bits ([31:0] bits). @rmtoll OMAR MA LL_DMA2D_SetOutputMemAddr. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetOutputMemAddr (DMA2D_TypeDef *DMA2Dx)
 Get DMA2D output memory address, expressed on 32 bits ([31:0] bits). @rmtoll OMAR MA LL_DMA2D_GetOutputMemAddr. More...
 
__STATIC_INLINE void LL_DMA2D_SetOutputColor (DMA2D_TypeDef *DMA2Dx, uint32_t OutputColor)
 Set DMA2D output color, expressed on 32 bits ([31:0] bits). More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetOutputColor (DMA2D_TypeDef *DMA2Dx)
 Get DMA2D output color, expressed on 32 bits ([31:0] bits). More...
 
__STATIC_INLINE void LL_DMA2D_SetLineWatermark (DMA2D_TypeDef *DMA2Dx, uint32_t LineWatermark)
 Set DMA2D line watermark, expressed on 16 bits ([15:0] bits). @rmtoll LWR LW LL_DMA2D_SetLineWatermark. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetLineWatermark (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D line watermark, expressed on 16 bits ([15:0] bits). @rmtoll LWR LW LL_DMA2D_GetLineWatermark. More...
 
__STATIC_INLINE void LL_DMA2D_SetDeadTime (DMA2D_TypeDef *DMA2Dx, uint32_t DeadTime)
 Set DMA2D dead time, expressed on 8 bits ([7:0] bits). @rmtoll AMTCR DT LL_DMA2D_SetDeadTime. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_GetDeadTime (DMA2D_TypeDef *DMA2Dx)
 Return DMA2D dead time, expressed on 8 bits ([7:0] bits). @rmtoll AMTCR DT LL_DMA2D_GetDeadTime. More...
 
__STATIC_INLINE void LL_DMA2D_EnableDeadTime (DMA2D_TypeDef *DMA2Dx)
 Enable DMA2D dead time functionality. @rmtoll AMTCR EN LL_DMA2D_EnableDeadTime. More...
 
__STATIC_INLINE void LL_DMA2D_DisableDeadTime (DMA2D_TypeDef *DMA2Dx)
 Disable DMA2D dead time functionality. @rmtoll AMTCR EN LL_DMA2D_DisableDeadTime. More...
 
__STATIC_INLINE uint32_t LL_DMA2D_IsEnabledDeadTime (DMA2D_TypeDef *DMA2Dx)
 Indicate if DMA2D dead time functionality is enabled. @rmtoll AMTCR EN LL_DMA2D_IsEnabledDeadTime. More...
 

Detailed Description

Function Documentation

◆ LL_DMA2D_Abort()

__STATIC_INLINE void LL_DMA2D_Abort ( DMA2D_TypeDef *  DMA2Dx)

Abort DMA2D transfer.

Note
This API can be used to abort automatic foreground or background CLUT loading. @rmtoll CR ABORT LL_DMA2D_Abort
Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 548 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_DisableDeadTime()

__STATIC_INLINE void LL_DMA2D_DisableDeadTime ( DMA2D_TypeDef *  DMA2Dx)

Disable DMA2D dead time functionality. @rmtoll AMTCR EN LL_DMA2D_DisableDeadTime.

Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 826 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_EnableDeadTime()

__STATIC_INLINE void LL_DMA2D_EnableDeadTime ( DMA2D_TypeDef *  DMA2Dx)

Enable DMA2D dead time functionality. @rmtoll AMTCR EN LL_DMA2D_EnableDeadTime.

Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 815 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetDeadTime()

__STATIC_INLINE uint32_t LL_DMA2D_GetDeadTime ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D dead time, expressed on 8 bits ([7:0] bits). @rmtoll AMTCR DT LL_DMA2D_GetDeadTime.

Parameters
DMA2DxDMA2D Instance
Return values
Deadtime value between Min_Data=0 and Max_Data=0xFF

Definition at line 804 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetLineOffset()

__STATIC_INLINE uint32_t LL_DMA2D_GetLineOffset ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D line offset, expressed on 14 bits ([13:0] bits). @rmtoll OOR LO LL_DMA2D_GetLineOffset.

Parameters
DMA2DxDMA2D Instance
Return values
Lineoffset value between Min_Data=0 and Max_Data=0x3FFF

Definition at line 651 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetLineWatermark()

__STATIC_INLINE uint32_t LL_DMA2D_GetLineWatermark ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D line watermark, expressed on 16 bits ([15:0] bits). @rmtoll LWR LW LL_DMA2D_GetLineWatermark.

Parameters
DMA2DxDMA2D Instance
Return values
Linewatermark value between Min_Data=0 and Max_Data=0xFFFF

Definition at line 781 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetMode()

__STATIC_INLINE uint32_t LL_DMA2D_GetMode ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D mode @rmtoll CR MODE LL_DMA2D_GetMode.

Parameters
DMA2DxDMA2D Instance
Return values
Returnedvalue can be one of the following values:
  • LL_DMA2D_MODE_M2M
  • LL_DMA2D_MODE_M2M_PFC
  • LL_DMA2D_MODE_M2M_BLEND
  • LL_DMA2D_MODE_R2M

Definition at line 592 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetNbrOfLines()

__STATIC_INLINE uint32_t LL_DMA2D_GetNbrOfLines ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D number of lines, expressed on 16 bits ([15:0] bits). @rmtoll NLR NL LL_DMA2D_GetNbrOfLines.

Parameters
DMA2DxDMA2D Instance
Return values
Numberof lines value between Min_Data=0 and Max_Data=0xFFFF

Definition at line 697 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetNbrOfPixelsPerLines()

__STATIC_INLINE uint32_t LL_DMA2D_GetNbrOfPixelsPerLines ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D number of pixels per lines, expressed on 14 bits ([13:0] bits) @rmtoll NLR PL LL_DMA2D_GetNbrOfPixelsPerLines.

Parameters
DMA2DxDMA2D Instance
Return values
Numberof pixels per lines value between Min_Data=0 and Max_Data=0x3FFF

Definition at line 674 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetOutputColor()

__STATIC_INLINE uint32_t LL_DMA2D_GetOutputColor ( DMA2D_TypeDef *  DMA2Dx)

Get DMA2D output color, expressed on 32 bits ([31:0] bits).

Note
Alpha channel and red, green, blue color values must be retrieved from the returned value based on the output color mode (ARGB8888, RGB888, RGB565, ARGB1555 or ARGB4444) as set by LL_DMA2D_SetOutputColorMode. @rmtoll OCOLR BLUE LL_DMA2D_GetOutputColor
OCOLR GREEN LL_DMA2D_GetOutputColor
OCOLR RED LL_DMA2D_GetOutputColor
OCOLR ALPHA LL_DMA2D_GetOutputColor
Parameters
DMA2DxDMA2D Instance
Return values
Outputcolor value between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 757 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetOutputColorMode()

__STATIC_INLINE uint32_t LL_DMA2D_GetOutputColorMode ( DMA2D_TypeDef *  DMA2Dx)

Return DMA2D output color mode. @rmtoll OPFCCR CM LL_DMA2D_GetOutputColorMode.

Parameters
DMA2DxDMA2D Instance
Return values
Returnedvalue can be one of the following values:
  • LL_DMA2D_OUTPUT_MODE_ARGB8888
  • LL_DMA2D_OUTPUT_MODE_RGB888
  • LL_DMA2D_OUTPUT_MODE_RGB565
  • LL_DMA2D_OUTPUT_MODE_ARGB1555
  • LL_DMA2D_OUTPUT_MODE_ARGB4444

Definition at line 625 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_GetOutputMemAddr()

__STATIC_INLINE uint32_t LL_DMA2D_GetOutputMemAddr ( DMA2D_TypeDef *  DMA2Dx)

Get DMA2D output memory address, expressed on 32 bits ([31:0] bits). @rmtoll OMAR MA LL_DMA2D_GetOutputMemAddr.

Parameters
DMA2DxDMA2D Instance
Return values
Outputmemory address value between Min_Data=0 and Max_Data=0xFFFFFFFF

Definition at line 720 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_IsAborted()

__STATIC_INLINE uint32_t LL_DMA2D_IsAborted ( DMA2D_TypeDef *  DMA2Dx)

Indicate if DMA2D transfer is aborted.

Note
This API can be used to indicate whether or not automatic foreground or background CLUT loading is aborted. @rmtoll CR ABORT LL_DMA2D_IsAborted
Parameters
DMA2DxDMA2D Instance
Return values
Stateof bit (1 or 0).

Definition at line 561 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_IsEnabledDeadTime()

__STATIC_INLINE uint32_t LL_DMA2D_IsEnabledDeadTime ( DMA2D_TypeDef *  DMA2Dx)

Indicate if DMA2D dead time functionality is enabled. @rmtoll AMTCR EN LL_DMA2D_IsEnabledDeadTime.

Parameters
DMA2DxDMA2D Instance
Return values
Stateof bit (1 or 0).

Definition at line 837 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_IsSuspended()

__STATIC_INLINE uint32_t LL_DMA2D_IsSuspended ( DMA2D_TypeDef *  DMA2Dx)

Indicate if DMA2D transfer is suspended.

Note
This API can be used to indicate whether or not automatic foreground or background CLUT loading is suspended. @rmtoll CR SUSP LL_DMA2D_IsSuspended
Parameters
DMA2DxDMA2D Instance
Return values
Stateof bit (1 or 0).

Definition at line 536 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_IsTransferOngoing()

__STATIC_INLINE uint32_t LL_DMA2D_IsTransferOngoing ( DMA2D_TypeDef *  DMA2Dx)

Indicate if a DMA2D transfer is ongoing. @rmtoll CR START LL_DMA2D_IsTransferOngoing.

Parameters
DMA2DxDMA2D Instance
Return values
Stateof bit (1 or 0).

Definition at line 499 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_Resume()

__STATIC_INLINE void LL_DMA2D_Resume ( DMA2D_TypeDef *  DMA2Dx)

Resume DMA2D transfer.

Note
This API can be used to resume automatic foreground or background CLUT loading. @rmtoll CR SUSP LL_DMA2D_Resume
Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 523 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetDeadTime()

__STATIC_INLINE void LL_DMA2D_SetDeadTime ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  DeadTime 
)

Set DMA2D dead time, expressed on 8 bits ([7:0] bits). @rmtoll AMTCR DT LL_DMA2D_SetDeadTime.

Parameters
DMA2DxDMA2D Instance
DeadTimeValue between Min_Data=0 and Max_Data=0xFF
Return values
None

Definition at line 793 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetLineOffset()

__STATIC_INLINE void LL_DMA2D_SetLineOffset ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  LineOffset 
)

Set DMA2D line offset, expressed on 14 bits ([13:0] bits). @rmtoll OOR LO LL_DMA2D_SetLineOffset.

Parameters
DMA2DxDMA2D Instance
LineOffsetValue between Min_Data=0 and Max_Data=0x3FFF
Return values
None

Definition at line 640 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetLineWatermark()

__STATIC_INLINE void LL_DMA2D_SetLineWatermark ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  LineWatermark 
)

Set DMA2D line watermark, expressed on 16 bits ([15:0] bits). @rmtoll LWR LW LL_DMA2D_SetLineWatermark.

Parameters
DMA2DxDMA2D Instance
LineWatermarkValue between Min_Data=0 and Max_Data=0xFFFF
Return values
None

Definition at line 770 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetMode()

__STATIC_INLINE void LL_DMA2D_SetMode ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  Mode 
)

Set DMA2D mode. @rmtoll CR MODE LL_DMA2D_SetMode.

Parameters
DMA2DxDMA2D Instance
ModeThis parameter can be one of the following values:
  • LL_DMA2D_MODE_M2M
  • LL_DMA2D_MODE_M2M_PFC
  • LL_DMA2D_MODE_M2M_BLEND
  • LL_DMA2D_MODE_R2M
Return values
None

Definition at line 577 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetNbrOfLines()

__STATIC_INLINE void LL_DMA2D_SetNbrOfLines ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  NbrOfLines 
)

Set DMA2D number of lines, expressed on 16 bits ([15:0] bits). @rmtoll NLR NL LL_DMA2D_SetNbrOfLines.

Parameters
DMA2DxDMA2D Instance
NbrOfLinesValue between Min_Data=0 and Max_Data=0xFFFF
Return values
None

Definition at line 686 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetNbrOfPixelsPerLines()

__STATIC_INLINE void LL_DMA2D_SetNbrOfPixelsPerLines ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  NbrOfPixelsPerLines 
)

Set DMA2D number of pixels per lines, expressed on 14 bits ([13:0] bits). @rmtoll NLR PL LL_DMA2D_SetNbrOfPixelsPerLines.

Parameters
DMA2DxDMA2D Instance
NbrOfPixelsPerLinesValue between Min_Data=0 and Max_Data=0x3FFF
Return values
None

Definition at line 663 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetOutputColor()

__STATIC_INLINE void LL_DMA2D_SetOutputColor ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  OutputColor 
)

Set DMA2D output color, expressed on 32 bits ([31:0] bits).

Note
Output color format depends on output color mode, ARGB8888, RGB888, RGB565, ARGB1555 or ARGB4444.
LL_DMA2D_ConfigOutputColor() API may be used instead if colors values formatting with respect to color mode is not done by the user code. @rmtoll OCOLR BLUE LL_DMA2D_SetOutputColor
OCOLR GREEN LL_DMA2D_SetOutputColor
OCOLR RED LL_DMA2D_SetOutputColor
OCOLR ALPHA LL_DMA2D_SetOutputColor
Parameters
DMA2DxDMA2D Instance
OutputColorValue between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 739 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetOutputColorMode()

__STATIC_INLINE void LL_DMA2D_SetOutputColorMode ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  ColorMode 
)

Set DMA2D output color mode. @rmtoll OPFCCR CM LL_DMA2D_SetOutputColorMode.

Parameters
DMA2DxDMA2D Instance
ColorModeThis parameter can be one of the following values:
  • LL_DMA2D_OUTPUT_MODE_ARGB8888
  • LL_DMA2D_OUTPUT_MODE_RGB888
  • LL_DMA2D_OUTPUT_MODE_RGB565
  • LL_DMA2D_OUTPUT_MODE_ARGB1555
  • LL_DMA2D_OUTPUT_MODE_ARGB4444
Return values
None

Definition at line 609 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_SetOutputMemAddr()

__STATIC_INLINE void LL_DMA2D_SetOutputMemAddr ( DMA2D_TypeDef *  DMA2Dx,
uint32_t  OutputMemoryAddress 
)

Set DMA2D output memory address, expressed on 32 bits ([31:0] bits). @rmtoll OMAR MA LL_DMA2D_SetOutputMemAddr.

Parameters
DMA2DxDMA2D Instance
OutputMemoryAddressValue between Min_Data=0 and Max_Data=0xFFFFFFFF
Return values
None

Definition at line 709 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_Start()

__STATIC_INLINE void LL_DMA2D_Start ( DMA2D_TypeDef *  DMA2Dx)

Start a DMA2D transfer. @rmtoll CR START LL_DMA2D_Start.

Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 488 of file stm32f4xx_ll_dma2d.h.

◆ LL_DMA2D_Suspend()

__STATIC_INLINE void LL_DMA2D_Suspend ( DMA2D_TypeDef *  DMA2Dx)

Suspend DMA2D transfer.

Note
This API can be used to suspend automatic foreground or background CLUT loading. @rmtoll CR SUSP LL_DMA2D_Suspend
Parameters
DMA2DxDMA2D Instance
Return values
None

Definition at line 511 of file stm32f4xx_ll_dma2d.h.