/* Init the DMA channel Interrupt Callback function. 
param of pfnCallback */
void DMAChannelIntCallbackInit(unsigned long ulChannelID, xtEventCallback pfnCallback)
/* Init the DMA channel Interrupt Callback function. 
param of pfnCallback */
void DMAChannelIntCallbackInit(unsigned long ulChannelID, xtEventCallback pfnCallback)
{
    int i = 0;
    xASSERT(xDMAChannelIDValid(ulChannelID));
    for(i = 0; g_psDMAChannelAssignTable[i].ulChannelID != xDMA_CHANNEL_NOT_EXIST; i++)
    {
        if(g_psDMAChannelAssignTable[i].ulChannelID == ulChannelID)
        {
            g_psDMAChannelAssignTable[i].pfnDMAChannelHandlerCallback = pfnCallback;
            return;
        }
    }
}