STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Peripheral State functions. More...
Functions | |
HAL_DMA_StateTypeDef | HAL_DMA_GetState (DMA_HandleTypeDef *hdma) |
Returns the DMA state. | |
uint32_t | HAL_DMA_GetError (DMA_HandleTypeDef *hdma) |
Return the DMA error code. | |
Peripheral State functions.
=============================================================================== ##### State and Errors functions ##### =============================================================================== [..] This subsection provides functions allowing to (+) Check the DMA state (+) Get error code
HAL_DMA_StateTypeDef HAL_DMA_GetState | ( | DMA_HandleTypeDef * | hdma | ) |
#include <stm32f4xx_hal_dma.h>
Returns the DMA state.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream. |
HAL | state |
Definition at line 1114 of file stm32f4xx_hal_dma.c.
References __DMA_HandleTypeDef::State.
Referenced by FMPI2C_ITError(), and I2C_Slave_STOPF().
uint32_t HAL_DMA_GetError | ( | DMA_HandleTypeDef * | hdma | ) |
#include <stm32f4xx_hal_dma.h>
Return the DMA error code.
hdma | pointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream. |
DMA | Error Code |
Definition at line 1125 of file stm32f4xx_hal_dma.c.
References __DMA_HandleTypeDef::ErrorCode.
Referenced by FMPI2C_DMAError(), HAL_UART_Abort(), HAL_UART_AbortReceive(), HAL_UART_AbortTransmit(), I2C_DMAError(), MMC_DMAError(), and SD_DMAError().