Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

Embed: (wiki syntax)

« Back to documentation index

Peripheral State and Errors functions

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:
DMAError Code

Definition at line 835 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:
HALstate

Definition at line 823 of file stm32l4xx_hal_dma.c.