/* Write datas element to the SPI interface. This function transmitted data to the interface of the specified SPI module .  */
void xSPIDataWrite(unsigned long ulBase, unsigned long *pulWData, unsigned long ulLen)
/* Write datas element to the SPI interface. This function transmitted data to the interface of the specified SPI module .  */
void xSPIDataWrite(unsigned long ulBase, unsigned long *pulWData, unsigned long ulLen)
{
    unsigned long i = 0;
    xASSERT(ulBase == SPI0_BASE);
    xASSERT(pulData != 0);
    for(i = 0; i < ulLen; i++)
    {
        SPIDataReadWrite(ulBase, *pulWData++);
    }
}