/* The interrupt handler for DMA interrupts from the memory channel. */
void DMA0IntHandler(void)
/* The interrupt handler for DMA interrupts from the memory channel. */
void DMA0IntHandler(void)
{
    unsigned long ulEvent = 0;
    ulEvent = xHWREG(DMA0_BASE + DMA_DSR_BCR) & 0x71000000;
    xHWREG(DMA0_BASE + DMA_DSR_BCR) |= DMA_DSR_BCR_DONE;
    if(g_psDMAChannelAssignTable[0].pfnDMAChannelHandlerCallback != 0)
    {
        g_psDMAChannelAssignTable[0].pfnDMAChannelHandlerCallback(0,0,ulEvent,0);
    }
}