Solved
Need help understanding HAL_DMA_RegisterCallback function
Posted on August 13, 2016 at 17:00
HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma))
These are the parameters I am using in my code:HAL_DMA_RegisterCallback(&hdma_dac1, HAL_DMA_XFER_HALFCPLT_CB_ID, MyDmaDac1Callback)Getting errors on this line no matter how many times I try to alter the parameters.Does a practical real-world code example exist to guide me on the proper syntax for this function? Can anyone offer some assistance?Thanks,Christopher #hal-callback-dma-register