STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches

IO operation functions. More...

Collaboration diagram for IO operation functions:

Functions

HAL_StatusTypeDef HAL_DMA2D_Start (DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, uint32_t Height)
 Start the DMA2D Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_BlendingStart (DMA2D_HandleTypeDef *hdma2d, uint32_t SrcAddress1, uint32_t SrcAddress2, uint32_t DstAddress, uint32_t Width, uint32_t Height)
 Start the multi-source DMA2D Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_Start_IT (DMA2D_HandleTypeDef *hdma2d, uint32_t pdata, uint32_t DstAddress, uint32_t Width, uint32_t Height)
 Start the DMA2D Transfer with interrupt enabled.
 
HAL_StatusTypeDef HAL_DMA2D_BlendingStart_IT (DMA2D_HandleTypeDef *hdma2d, uint32_t SrcAddress1, uint32_t SrcAddress2, uint32_t DstAddress, uint32_t Width, uint32_t Height)
 Start the multi-source DMA2D Transfer with interrupt enabled.
 
HAL_StatusTypeDef HAL_DMA2D_Suspend (DMA2D_HandleTypeDef *hdma2d)
 Suspend the DMA2D Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_Resume (DMA2D_HandleTypeDef *hdma2d)
 Resume the DMA2D Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_Abort (DMA2D_HandleTypeDef *hdma2d)
 Abort the DMA2D Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_EnableCLUT (DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx)
 Enable the DMA2D CLUT Transfer.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad (DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef *CLUTCfg, uint32_t LayerIdx)
 Start DMA2D CLUT Loading.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad_IT (DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef *CLUTCfg, uint32_t LayerIdx)
 Start DMA2D CLUT Loading with interrupt enabled.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTLoad (DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx)
 Start DMA2D CLUT Loading.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTLoad_IT (DMA2D_HandleTypeDef *hdma2d, DMA2D_CLUTCfgTypeDef CLUTCfg, uint32_t LayerIdx)
 Start DMA2D CLUT Loading with interrupt enabled.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Abort (DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx)
 Abort the DMA2D CLUT loading.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Suspend (DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx)
 Suspend the DMA2D CLUT loading.
 
HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Resume (DMA2D_HandleTypeDef *hdma2d, uint32_t LayerIdx)
 Resume the DMA2D CLUT loading.
 
HAL_StatusTypeDef HAL_DMA2D_PollForTransfer (DMA2D_HandleTypeDef *hdma2d, uint32_t Timeout)
 Polling for transfer complete or CLUT loading.
 
void HAL_DMA2D_IRQHandler (DMA2D_HandleTypeDef *hdma2d)
 Handle DMA2D interrupt request.
 
void HAL_DMA2D_LineEventCallback (DMA2D_HandleTypeDef *hdma2d)
 Transfer watermark callback.
 
void HAL_DMA2D_CLUTLoadingCpltCallback (DMA2D_HandleTypeDef *hdma2d)
 CLUT Transfer Complete callback.
 

Detailed Description

IO operation functions.

 ===============================================================================
                      #####  IO operation functions  #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Configure the pdata, destination address and data size then
          start the DMA2D transfer.
      (+) Configure the source for foreground and background, destination address
          and data size then start a MultiBuffer DMA2D transfer.
      (+) Configure the pdata, destination address and data size then
          start the DMA2D transfer with interrupt.
      (+) Configure the source for foreground and background, destination address
          and data size then start a MultiBuffer DMA2D transfer with interrupt.
      (+) Abort DMA2D transfer.
      (+) Suspend DMA2D transfer.
      (+) Resume DMA2D transfer.
      (+) Enable CLUT transfer.
      (+) Configure CLUT loading then start transfer in polling mode.
      (+) Configure CLUT loading then start transfer in interrupt mode.
      (+) Abort DMA2D CLUT loading.
      (+) Suspend DMA2D CLUT loading.
      (+) Resume DMA2D CLUT loading.
      (+) Poll for transfer complete.
      (+) handle DMA2D interrupt request.
      (+) Transfer watermark callback.
      (+) CLUT Transfer Complete callback.

Function Documentation

◆ HAL_DMA2D_Start()

HAL_StatusTypeDef HAL_DMA2D_Start ( DMA2D_HandleTypeDef * hdma2d,
uint32_t pdata,
uint32_t DstAddress,
uint32_t Width,
uint32_t Height )

#include <stm32f4xx_hal_dma2d.h>

Start the DMA2D Transfer.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
pdataConfigure the source memory Buffer address if Memory-to-Memory or Memory-to-Memory with pixel format conversion mode is selected, or configure the color value if Register-to-Memory mode is selected.
DstAddressThe destination memory Buffer address.
WidthThe width of data to be transferred from source to destination (expressed in number of pixels per line).
HeightThe height of data to be transferred from source to destination (expressed in number of lines).
Return values
HALstatus

Definition at line 668 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE, __HAL_LOCK, assert_param, DMA2D_SetConfig(), HAL_DMA2D_STATE_BUSY, HAL_OK, IS_DMA2D_LINE, IS_DMA2D_PIXEL, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_BlendingStart()

HAL_StatusTypeDef HAL_DMA2D_BlendingStart ( DMA2D_HandleTypeDef * hdma2d,
uint32_t SrcAddress1,
uint32_t SrcAddress2,
uint32_t DstAddress,
uint32_t Width,
uint32_t Height )

#include <stm32f4xx_hal_dma2d.h>

Start the multi-source DMA2D Transfer.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
SrcAddress1The source memory Buffer address for the foreground layer.
SrcAddress2The source memory Buffer address for the background layer.
DstAddressThe destination memory Buffer address.
WidthThe width of data to be transferred from source to destination (expressed in number of pixels per line).
HeightThe height of data to be transferred from source to destination (expressed in number of lines).
Return values
HALstatus

Definition at line 741 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE, __HAL_LOCK, assert_param, DMA2D_SetConfig(), HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_LINE, IS_DMA2D_PIXEL, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_Start_IT()

HAL_StatusTypeDef HAL_DMA2D_Start_IT ( DMA2D_HandleTypeDef * hdma2d,
uint32_t pdata,
uint32_t DstAddress,
uint32_t Width,
uint32_t Height )

#include <stm32f4xx_hal_dma2d.h>

Start the DMA2D Transfer with interrupt enabled.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
pdataConfigure the source memory Buffer address if the Memory-to-Memory or Memory-to-Memory with pixel format conversion mode is selected, or configure the color value if Register-to-Memory mode is selected.
DstAddressThe destination memory Buffer address.
WidthThe width of data to be transferred from source to destination (expressed in number of pixels per line).
HeightThe height of data to be transferred from source to destination (expressed in number of lines).
Return values
HALstatus

Definition at line 704 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE, __HAL_DMA2D_ENABLE_IT, __HAL_LOCK, assert_param, DMA2D_IT_CE, DMA2D_IT_TC, DMA2D_IT_TE, DMA2D_SetConfig(), HAL_DMA2D_STATE_BUSY, HAL_OK, IS_DMA2D_LINE, IS_DMA2D_PIXEL, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_BlendingStart_IT()

HAL_StatusTypeDef HAL_DMA2D_BlendingStart_IT ( DMA2D_HandleTypeDef * hdma2d,
uint32_t SrcAddress1,
uint32_t SrcAddress2,
uint32_t DstAddress,
uint32_t Width,
uint32_t Height )

#include <stm32f4xx_hal_dma2d.h>

Start the multi-source DMA2D Transfer with interrupt enabled.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
SrcAddress1The source memory Buffer address for the foreground layer.
SrcAddress2The source memory Buffer address for the background layer.
DstAddressThe destination memory Buffer address.
WidthThe width of data to be transferred from source to destination (expressed in number of pixels per line).
HeightThe height of data to be transferred from source to destination (expressed in number of lines).
Return values
HALstatus

Definition at line 778 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE, __HAL_DMA2D_ENABLE_IT, __HAL_LOCK, assert_param, DMA2D_IT_CE, DMA2D_IT_TC, DMA2D_IT_TE, DMA2D_SetConfig(), HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_LINE, IS_DMA2D_PIXEL, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_Suspend()

HAL_StatusTypeDef HAL_DMA2D_Suspend ( DMA2D_HandleTypeDef * hdma2d)

#include <stm32f4xx_hal_dma2d.h>

Suspend the DMA2D Transfer.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
Return values
HALstatus

Definition at line 861 of file stm32f4xx_hal_dma2d.c.

References DMA2D_TIMEOUT_SUSPEND, __DMA2D_HandleTypeDef::ErrorCode, HAL_DMA2D_ERROR_TIMEOUT, HAL_DMA2D_STATE_SUSPEND, HAL_DMA2D_STATE_TIMEOUT, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_Resume()

HAL_StatusTypeDef HAL_DMA2D_Resume ( DMA2D_HandleTypeDef * hdma2d)

#include <stm32f4xx_hal_dma2d.h>

Resume the DMA2D Transfer.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
Return values
HALstatus

Definition at line 910 of file stm32f4xx_hal_dma2d.c.

References HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_Abort()

HAL_StatusTypeDef HAL_DMA2D_Abort ( DMA2D_HandleTypeDef * hdma2d)

#include <stm32f4xx_hal_dma2d.h>

Abort the DMA2D Transfer.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
Return values
HALstatus

Definition at line 812 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_DISABLE_IT, __HAL_UNLOCK, DMA2D_IT_CE, DMA2D_IT_TC, DMA2D_IT_TE, DMA2D_TIMEOUT_ABORT, __DMA2D_HandleTypeDef::ErrorCode, HAL_DMA2D_ERROR_TIMEOUT, HAL_DMA2D_STATE_READY, HAL_DMA2D_STATE_TIMEOUT, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

Referenced by HAL_DMA2D_DeInit().

◆ HAL_DMA2D_EnableCLUT()

HAL_StatusTypeDef HAL_DMA2D_EnableCLUT ( DMA2D_HandleTypeDef * hdma2d,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Enable the DMA2D CLUT Transfer.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 938 of file stm32f4xx_hal_dma2d.c.

References __HAL_LOCK, assert_param, DMA2D_BACKGROUND_LAYER, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_LAYER, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTStartLoad()

HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad ( DMA2D_HandleTypeDef * hdma2d,
DMA2D_CLUTCfgTypeDef * CLUTCfg,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Start DMA2D CLUT Loading.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
CLUTCfgPointer to a DMA2D_CLUTCfgTypeDef structure that contains the configuration information for the color look up table.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 974 of file stm32f4xx_hal_dma2d.c.

References __HAL_LOCK, assert_param, DMA2D_CLUTCfgTypeDef::CLUTColorMode, DMA2D_BACKGROUND_LAYER, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_CLUT_CM, IS_DMA2D_CLUT_SIZE, IS_DMA2D_LAYER, DMA2D_CLUTCfgTypeDef::pCLUT, DMA2D_CLUTCfgTypeDef::Size, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTStartLoad_IT()

HAL_StatusTypeDef HAL_DMA2D_CLUTStartLoad_IT ( DMA2D_HandleTypeDef * hdma2d,
DMA2D_CLUTCfgTypeDef * CLUTCfg,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Start DMA2D CLUT Loading with interrupt enabled.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
CLUTCfgPointer to a DMA2D_CLUTCfgTypeDef structure that contains the configuration information for the color look up table.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 1028 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE_IT, __HAL_LOCK, assert_param, DMA2D_CLUTCfgTypeDef::CLUTColorMode, DMA2D_BACKGROUND_LAYER, DMA2D_IT_CAE, DMA2D_IT_CE, DMA2D_IT_CTC, DMA2D_IT_TE, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_CLUT_CM, IS_DMA2D_CLUT_SIZE, IS_DMA2D_LAYER, DMA2D_CLUTCfgTypeDef::pCLUT, DMA2D_CLUTCfgTypeDef::Size, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTLoad()

HAL_StatusTypeDef HAL_DMA2D_CLUTLoad ( DMA2D_HandleTypeDef * hdma2d,
DMA2D_CLUTCfgTypeDef CLUTCfg,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Start DMA2D CLUT Loading.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
CLUTCfgPointer to a DMA2D_CLUTCfgTypeDef structure that contains the configuration information for the color look up table.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Note
API obsolete and maintained for compatibility with legacy. User is invited to resort to HAL_DMA2D_CLUTStartLoad() instead to benefit from code compactness, code size and improved heap usage.
Return values
HALstatus

Definition at line 1092 of file stm32f4xx_hal_dma2d.c.

References __HAL_LOCK, assert_param, DMA2D_CLUTCfgTypeDef::CLUTColorMode, DMA2D_BACKGROUND_LAYER, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_CLUT_CM, IS_DMA2D_CLUT_SIZE, IS_DMA2D_LAYER, DMA2D_CLUTCfgTypeDef::pCLUT, DMA2D_CLUTCfgTypeDef::Size, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTLoad_IT()

HAL_StatusTypeDef HAL_DMA2D_CLUTLoad_IT ( DMA2D_HandleTypeDef * hdma2d,
DMA2D_CLUTCfgTypeDef CLUTCfg,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Start DMA2D CLUT Loading with interrupt enabled.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
CLUTCfgPointer to a DMA2D_CLUTCfgTypeDef structure that contains the configuration information for the color look up table.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Note
API obsolete and maintained for compatibility with legacy. User is invited to resort to HAL_DMA2D_CLUTStartLoad_IT() instead to benefit from code compactness, code size and improved heap usage.
Return values
HALstatus

Definition at line 1149 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_ENABLE_IT, __HAL_LOCK, assert_param, DMA2D_CLUTCfgTypeDef::CLUTColorMode, DMA2D_BACKGROUND_LAYER, DMA2D_IT_CAE, DMA2D_IT_CE, DMA2D_IT_CTC, DMA2D_IT_TE, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, IS_DMA2D_CLUT_CM, IS_DMA2D_CLUT_SIZE, IS_DMA2D_LAYER, DMA2D_CLUTCfgTypeDef::pCLUT, DMA2D_CLUTCfgTypeDef::Size, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTLoading_Abort()

HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Abort ( DMA2D_HandleTypeDef * hdma2d,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Abort the DMA2D CLUT loading.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 1207 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_DISABLE_IT, __HAL_UNLOCK, DMA2D_FOREGROUND_LAYER, DMA2D_IT_CAE, DMA2D_IT_CE, DMA2D_IT_CTC, DMA2D_IT_TE, DMA2D_TIMEOUT_ABORT, __DMA2D_HandleTypeDef::ErrorCode, HAL_DMA2D_ERROR_TIMEOUT, HAL_DMA2D_STATE_READY, HAL_DMA2D_STATE_TIMEOUT, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

Referenced by HAL_DMA2D_DeInit().

◆ HAL_DMA2D_CLUTLoading_Suspend()

HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Suspend ( DMA2D_HandleTypeDef * hdma2d,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Suspend the DMA2D CLUT loading.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 1264 of file stm32f4xx_hal_dma2d.c.

References DMA2D_FOREGROUND_LAYER, DMA2D_TIMEOUT_SUSPEND, __DMA2D_HandleTypeDef::ErrorCode, HAL_DMA2D_ERROR_TIMEOUT, HAL_DMA2D_STATE_SUSPEND, HAL_DMA2D_STATE_TIMEOUT, HAL_GetTick(), HAL_OK, HAL_TIMEOUT, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_CLUTLoading_Resume()

HAL_StatusTypeDef HAL_DMA2D_CLUTLoading_Resume ( DMA2D_HandleTypeDef * hdma2d,
uint32_t LayerIdx )

#include <stm32f4xx_hal_dma2d.h>

Resume the DMA2D CLUT loading.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
LayerIdxDMA2D Layer index. This parameter can be one of the following values: DMA2D_BACKGROUND_LAYER(0) / DMA2D_FOREGROUND_LAYER(1)
Return values
HALstatus

Definition at line 1329 of file stm32f4xx_hal_dma2d.c.

References DMA2D_BACKGROUND_LAYER, HAL_DMA2D_STATE_BUSY, HAL_OK, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_PollForTransfer()

HAL_StatusTypeDef HAL_DMA2D_PollForTransfer ( DMA2D_HandleTypeDef * hdma2d,
uint32_t Timeout )

#include <stm32f4xx_hal_dma2d.h>

Polling for transfer complete or CLUT loading.

Parameters
hdma2dPointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
TimeoutTimeout duration
Return values
HALstatus

Definition at line 1372 of file stm32f4xx_hal_dma2d.c.

References __HAL_DMA2D_CLEAR_FLAG, __HAL_DMA2D_GET_FLAG, __HAL_UNLOCK, DMA2D_FLAG_CAE, DMA2D_FLAG_CE, DMA2D_FLAG_CTC, DMA2D_FLAG_TC, DMA2D_FLAG_TE, __DMA2D_HandleTypeDef::ErrorCode, HAL_DMA2D_ERROR_CAE, HAL_DMA2D_ERROR_CE, HAL_DMA2D_ERROR_TE, HAL_DMA2D_ERROR_TIMEOUT, HAL_DMA2D_STATE_ERROR, HAL_DMA2D_STATE_READY, HAL_DMA2D_STATE_TIMEOUT, HAL_ERROR, HAL_GetTick(), HAL_MAX_DELAY, HAL_OK, HAL_TIMEOUT, __DMA2D_HandleTypeDef::Instance, and __DMA2D_HandleTypeDef::State.

◆ HAL_DMA2D_IRQHandler()

◆ HAL_DMA2D_LineEventCallback()

__weak void HAL_DMA2D_LineEventCallback ( DMA2D_HandleTypeDef * hdma2d)

#include <stm32f4xx_hal_dma2d.h>

Transfer watermark callback.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
Return values
None

Definition at line 1670 of file stm32f4xx_hal_dma2d.c.

References UNUSED.

Referenced by HAL_DMA2D_Init(), and HAL_DMA2D_IRQHandler().

◆ HAL_DMA2D_CLUTLoadingCpltCallback()

__weak void HAL_DMA2D_CLUTLoadingCpltCallback ( DMA2D_HandleTypeDef * hdma2d)

#include <stm32f4xx_hal_dma2d.h>

CLUT Transfer Complete callback.

Parameters
hdma2dpointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D.
Return values
None

Definition at line 1686 of file stm32f4xx_hal_dma2d.c.

References UNUSED.

Referenced by HAL_DMA2D_Init(), and HAL_DMA2D_IRQHandler().