/* Gets a data element from the SSI receive FIFO. */
int32_t SSIDataGetNonBlocking(uint32_t ui32Base, uint32_t *pui32Data)
/* Gets a data element from the SSI receive FIFO. */
int32_t SSIDataGetNonBlocking(uint32_t ui32Base, uint32_t *pui32Data)
{
    ASSERT(_SSIBaseValid(ui32Base));
    if(HWREG(ui32Base + SSI_O_SR) & SSI_SR_RNE)
    {
        *pui32Data = HWREG(ui32Base + SSI_O_DR);
        return(1);
    }
    else
    {
        return(0);
    }
}