/* param handle DMA handle pointer. param callback DMA callback function pointer. param userData Parameter for callback function.  */
void DMA_SetCallback(dma_handle_t *handle, dma_callback callback, void *userData)
/* param handle DMA handle pointer. param callback DMA callback function pointer. param userData Parameter for callback function.  */
void DMA_SetCallback(dma_handle_t *handle, dma_callback callback, void *userData)
{
    assert(handle != NULL);
    handle->callback = callback;
    handle->userData = userData;
}