/* Get the DMA channel Interrupt Callback function that have been set.  */
xtEventCallback DMAChannelIntCallbackGet(unsigned long ulChannelID)
/* Get the DMA channel Interrupt Callback function that have been set.  */
xtEventCallback DMAChannelIntCallbackGet(unsigned long ulChannelID)
{
    int i;
    xASSERT(xDMAChannelIDValid(ulChannelID));
    for(i = 0; g_psDMAChannelAssignTable[i].ulChannelID != 
           xDMA_CHANNEL_NOT_EXIST;
               i++)
    {
        if(g_psDMAChannelAssignTable[i].ulChannelID == ulChannelID)
        {
            return g_psDMAChannelAssignTable[i].pfnDMAChannelHandlerCallback;
        }
    }
    return 0;
}