/* Check the status of the Rx buffer of the specified SPI port.  */
xtBoolean SPIIsRxFull(unsigned long ulBase)
/* Check the status of the Rx buffer of the specified SPI port.  */
xtBoolean SPIIsRxFull(unsigned long ulBase)
{
    xASSERT(ulBase == SPI0_BASE);
    return ((xHWREG(ulBase + SPI_SR) & SPI_SR_RXBNE)? xtrue : xfalse);
}