Hal_Dma_Irqhandler; Hal_Dma_Cleancallbacks; Hal_Dma_Registercallback; Hal_Dma_Unregistercallback - ST STM32F2 User Manual

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

Advertisement

HAL DMA Generic Driver
Return values
Notes

HAL_DMA_IRQHandler

Function name
Function description
Parameters
Return values

HAL_DMA_CleanCallbacks

Function name
Function description

HAL_DMA_RegisterCallback

Function name
Function description
Parameters
Return values

HAL_DMA_UnRegisterCallback

Function name
Function description
Parameters
196/1371
contains the configuration information for the specified DMA
Stream.
CompleteLevel: Specifies the DMA level complete.
Timeout: Timeout duration.
HAL: status
The polling mode is kept in this version for legacy. it is
recommanded to use the IT model instead. This model could
be used for debug purpose.
The HAL_DMA_PollForTransfer API cannot be used in
circular and double buffering mode (automatic circular mode).
void HAL_DMA_IRQHandler (DMA_HandleTypeDef * hdma)
Handles DMA interrupt request.
hdma: pointer to a DMA_HandleTypeDef structure that
contains the configuration information for the specified DMA
Stream.
None:
HAL_StatusTypeDef HAL_DMA_CleanCallbacks
(DMA_HandleTypeDef * hdma)
HAL_StatusTypeDef HAL_DMA_RegisterCallback
(DMA_HandleTypeDef * hdma, HAL_DMA_CallbackIDTypeDef
CallbackID, void(*)(DMA_HandleTypeDef *_hdma) pCallback)
Register callbacks.
hdma: pointer to a DMA_HandleTypeDef structure that
contains the configuration information for the specified DMA
Stream.
CallbackID: User Callback identifer a DMA_HandleTypeDef
structure as parameter.
pCallback: pointer to private callbacsk function which has
pointer to a DMA_HandleTypeDef structure as parameter.
HAL: status
HAL_StatusTypeDef HAL_DMA_UnRegisterCallback
(DMA_HandleTypeDef * hdma, HAL_DMA_CallbackIDTypeDef
CallbackID)
UnRegister callbacks.
hdma: pointer to a DMA_HandleTypeDef structure that
DocID028236 Rev 2
UM1940

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