/* Gets a data element from the SSI receive FIFO. */
void SSIDataGet(unsigned long ulBase, unsigned long *pulData)
/* Gets a data element from the SSI receive FIFO. */
void SSIDataGet(unsigned long ulBase, unsigned long *pulData)
{
    ASSERT((ulBase == SSI0_BASE) || (ulBase == SSI1_BASE));
    while(!(HWREG(ulBase + SSI_O_SR) & SSI_SR_RNE))
    {
    }
    *pulData = HWREG(ulBase + SSI_O_DR);
}