/* Enable the DMA of the specified SPI port. 
The  */
void xSPIDMAEnable(unsigned long ulBase, unsigned long ulDmaMode)
/* Enable the DMA of the specified SPI port. 
The  */
void xSPIDMAEnable(unsigned long ulBase, unsigned long ulDmaMode)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE)||
            (ulBase == SPI2_BASE)||(ulBase == SPI3_BASE) );
    xHWREG(ulBase + SPI_DMACTL) |= ulDmaMode;
}