void dmacHw_printDebugInfo(dmacHw_HANDLE_t handle, /* [ IN ] DMA Channel handle */ void *pDescriptor, /* [ IN ] Descriptor buffer */ int (*fpPrint) (const char *, ...) /* [ IN ] Print callback function */ ) { dmacHw_CBLK_t *pCblk = dmacHw_HANDLE_TO_CBLK(handle); DisplayRegisterContents(pCblk->module, pCblk->channel, fpPrint); DisplayDescRing(pDescriptor, fpPrint); }
void dmacHw_printDebugInfo(dmacHw_HANDLE_t handle, void *pDescriptor, int (*fpPrint) (const char *, ...) ) { dmacHw_CBLK_t *pCblk = dmacHw_HANDLE_TO_CBLK(handle); DisplayRegisterContents(pCblk->module, pCblk->channel, fpPrint); DisplayDescRing(pDescriptor, fpPrint); }