|
STM32F103xB HAL User Manual
|
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. | |
Peripheral State and Errors functions.
===============================================================================
##### Peripheral State and Errors functions #####
===============================================================================
[..]
This subsection provides functions allowing to
(+) Check the DMA state
(+) Get error code
| uint32_t HAL_DMA_GetError | ( | DMA_HandleTypeDef * | hdma | ) |
Return the DMA error code.
| hdma | : pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
| DMA | Error Code |
Definition at line 832 of file stm32f1xx_hal_dma.c.
References __DMA_HandleTypeDef::ErrorCode.
Referenced by HAL_UART_Abort(), HAL_UART_AbortReceive(), and HAL_UART_AbortTransmit().
Return the DMA hande state.
| hdma,: | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Channel. |
| HAL | state |
Definition at line 820 of file stm32f1xx_hal_dma.c.
References __DMA_HandleTypeDef::State.
Referenced by I2C_Slave_STOPF().
1.7.6.1