contains the configuration information for the specified DMA
Stream.
CompleteLevel: Specifies the DMA level complete.
Timeout: Timeout duration.
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).
HAL_DMA_IRQHandler
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.
HAL_DMA_CleanCallbacks
HAL_StatusTypeDef HAL_DMA_CleanCallbacks
(DMA_HandleTypeDef * hdma)
HAL_DMA_RegisterCallback
HAL_StatusTypeDef HAL_DMA_RegisterCallback
(DMA_HandleTypeDef * hdma, HAL_DMA_CallbackIDTypeDef
CallbackID, void(*)(DMA_HandleTypeDef *_hdma) pCallback)
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_DMA_UnRegisterCallback
HAL_StatusTypeDef HAL_DMA_UnRegisterCallback
(DMA_HandleTypeDef * hdma, HAL_DMA_CallbackIDTypeDef
CallbackID)
hdma: pointer to a DMA_HandleTypeDef structure that