Hal_Dma_Getstate; Hal_Dma_Geterror; Dma Firmware Driver Defines - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

UM1940
Return values

HAL_DMA_GetState

Function name
Function description
Parameters
Return values

HAL_DMA_GetError

Function name
Function description
Parameters
Return values
15.3

DMA Firmware driver defines

15.3.1
DMA
DMA Channel selection
DMA_CHANNEL_0
DMA_CHANNEL_1
DMA_CHANNEL_2
DMA_CHANNEL_3
DMA_CHANNEL_4
DMA_CHANNEL_5
DMA_CHANNEL_6
DMA_CHANNEL_7
DMA Data transfer direction
DMA_PERIPH_TO_MEMORY
DMA_MEMORY_TO_PERIPH
DMA_MEMORY_TO_MEMORY
DMA Error Code
contains the configuration information for the specified DMA
Stream.
CallbackID: User Callback identifer a
HAL_DMA_CallbackIDTypeDef ENUM as parameter.
HAL: status
HAL_DMA_StateTypeDef HAL_DMA_GetState
(DMA_HandleTypeDef * hdma)
Returns the DMA state.
hdma: pointer to a DMA_HandleTypeDef structure that
contains the configuration information for the specified DMA
Stream.
HAL: state
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
Stream.
DMA: Error Code
DMA Channel 0
DMA Channel 1
DMA Channel 2
DMA Channel 3
DMA Channel 4
DMA Channel 5
DMA Channel 6
DMA Channel 7
Peripheral to memory direction
Memory to peripheral direction
Memory to memory direction
DocID028236 Rev 2
HAL DMA Generic Driver
197/1371

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF