/* 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(SSIBaseValid(ulBase));
    while(!(HWREG(ulBase + SSI_O_SR) & SSI_SR_RNE))
    {
    }
    *pulData = HWREG(ulBase + SSI_O_DR);
}