STM32F4xx_HAL_Driver  1.8.3
Peripheral State functions

Peripheral State functions. More...

+ Collaboration diagram for Peripheral State functions:

Functions

HAL_DMA_StateTypeDef HAL_DMA_GetState (DMA_HandleTypeDef *hdma)
 Returns the DMA state. More...
 
uint32_t HAL_DMA_GetError (DMA_HandleTypeDef *hdma)
 Return the DMA error code. More...
 

Detailed Description

Peripheral State functions.

 ===============================================================================
                    ##### State and Errors functions #####
 ===============================================================================
    [..]
    This subsection provides functions allowing to
      (+) Check the DMA state
      (+) Get error code

Function Documentation

◆ HAL_DMA_GetError()

uint32_t HAL_DMA_GetError ( DMA_HandleTypeDef hdma)

Return the DMA error code.

Parameters
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream.
Return values
DMAError Code

Definition at line 1125 of file stm32f4xx_hal_dma.c.

◆ HAL_DMA_GetState()

HAL_DMA_StateTypeDef HAL_DMA_GetState ( DMA_HandleTypeDef hdma)

Returns the DMA state.

Parameters
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA Stream.
Return values
HALstate

Definition at line 1114 of file stm32f4xx_hal_dma.c.