/* Gets a data element from the SPI interface with Noblock. This function gets received data from the interface of the specified SPI module with Noblock.  */
void xSPIDataGetNonBlocking(unsigned long ulBase, unsigned long *pulData)
/* Gets a data element from the SPI interface with Noblock. This function gets received data from the interface of the specified SPI module with Noblock.  */
void xSPIDataGetNonBlocking(unsigned long ulBase, unsigned long *pulData)
{
    xASSERT(ulBase == SPI0_BASE);
    xASSERT(pulData != 0);
    *pulData = xHWREG(ulBase + S0SPDR) & S0SPDR_DATA_M;
}