/* If there is no data in the receive FIFO, then this function will return immediately without reading any data from the FIFO. */
long I2SRxDataGetNonBlocking(unsigned long ulBase, unsigned long *pulData)
/* If there is no data in the receive FIFO, then this function will return immediately without reading any data from the FIFO. */
long I2SRxDataGetNonBlocking(unsigned long ulBase, unsigned long *pulData)
{
    ASSERT(ulBase == I2S0_BASE);
    if(HWREG(ulBase + I2S_O_RXLEV) != 0)
    {
        *pulData = HWREG(ulBase + I2S_O_RXFIFO);
        return(1);
    }
    else
    {
        return(0);
    }
}