Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Peripheral State and Errors functions
[DMA Exported Functions]
Peripheral State and Errors functions. More...
Functions | |
HAL_DMA_StateTypeDef | HAL_DMA_GetState (DMA_HandleTypeDef *hdma) |
Return the DMA hande state. | |
uint32_t | HAL_DMA_GetError (DMA_HandleTypeDef *hdma) |
Return the DMA error code. |
Detailed Description
Peripheral State and Errors functions.
=============================================================================== ##### Peripheral State and Errors functions ##### =============================================================================== [..] This subsection provides functions allowing to (+) Check the DMA state (+) Get error code
Function Documentation
uint32_t HAL_DMA_GetError | ( | DMA_HandleTypeDef * | hdma ) |
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:
-
DMA Error Code
Definition at line 867 of file stm32l4xx_hal_dma.c.
HAL_DMA_StateTypeDef HAL_DMA_GetState | ( | DMA_HandleTypeDef * | hdma ) |
Return the DMA hande state.
- Parameters:
-
hdma,: pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel.
- Return values:
-
HAL state
Definition at line 855 of file stm32l4xx_hal_dma.c.
Generated on Tue Jul 12 2022 17:38:53 by
