Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
##### Initialization and Configuration functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Initialize and configure the DMA2D
(+) De-initialize the DMA2D
◆ HAL_DMA2D_DeInit()
Deinitializes the DMA2D peripheral registers to their default reset values.
- Parameters
-
hdma2d | pointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D. |
- Return values
-
Definition at line 306 of file stm32f4xx_hal_dma2d.c.
◆ HAL_DMA2D_Init()
Initialize the DMA2D according to the specified parameters in the DMA2D_InitTypeDef and create the associated handle.
- Parameters
-
hdma2d | pointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D. |
- Return values
-
Definition at line 238 of file stm32f4xx_hal_dma2d.c.
◆ HAL_DMA2D_MspDeInit()
DeInitializes the DMA2D MSP.
- Parameters
-
hdma2d | pointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D. |
- Return values
-
Definition at line 412 of file stm32f4xx_hal_dma2d.c.
◆ HAL_DMA2D_MspInit()
Initializes the DMA2D MSP.
- Parameters
-
hdma2d | pointer to a DMA2D_HandleTypeDef structure that contains the configuration information for the DMA2D. |
- Return values
-
Definition at line 396 of file stm32f4xx_hal_dma2d.c.
◆ HAL_DMA2D_RegisterCallback()
Register a User DMA2D Callback To be used instead of the weak (overridden) predefined callback.
- Parameters
-
hdma2d | DMA2D handle |
CallbackID | ID of the callback to be registered This parameter can be one of the following values:
|
pCallback | pointer to the Callback function |
- Note
- No weak predefined callbacks are defined for HAL_DMA2D_TRANSFERCOMPLETE_CB_ID or HAL_DMA2D_TRANSFERERROR_CB_ID
- Return values
-
Definition at line 439 of file stm32f4xx_hal_dma2d.c.
◆ HAL_DMA2D_UnRegisterCallback()
Unregister a DMA2D Callback DMA2D Callback is redirected to the weak (overridden) predefined callback.
- Parameters
-
hdma2d | DMA2D handle |
CallbackID | ID of the callback to be unregistered This parameter can be one of the following values:
|
- Note
- No weak predefined callbacks are defined for HAL_DMA2D_TRANSFERCOMPLETE_CB_ID or HAL_DMA2D_TRANSFERERROR_CB_ID
- Return values
-
Definition at line 537 of file stm32f4xx_hal_dma2d.c.