Peripheral State and Errors functions.
More...
Peripheral State and Errors functions.
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Check the DMA state
(+) Get error code
◆ HAL_DMA_GetError()
Return the DMA error code.
- Parameters
-
| hdma | : pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
- Return values
-
Definition at line 1042 of file stm32l4xx_hal_dma.c.
◆ HAL_DMA_GetState()
Return the DMA handle state.
- Parameters
-
| hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
- Return values
-
Definition at line 1030 of file stm32l4xx_hal_dma.c.
__IO HAL_DMA_StateTypeDef State