/* Read data from Rx registers. 
This function replaces the original SSIDataNonBlockingGet() API and performs the same actions. A macro is provided in  */
unsigned long SPIRxRegisterGet(unsigned long ulBase)
/* Read data from Rx registers. 
This function replaces the original SSIDataNonBlockingGet() API and performs the same actions. A macro is provided in  */
unsigned long SPIRxRegisterGet(unsigned long ulBase)
{
    xASSERT((ulBase == SPI0_BASE) || (ulBase == SPI1_BASE));
    return (xHWREG(ulBase + SPI_DR));
}