/* Puts a data element into the SSI transmit FIFO as the end of a frame. */
int32_t SSIAdvDataPutFrameEndNonBlocking(uint32_t ui32Base, uint32_t ui32Data)
/* Puts a data element into the SSI transmit FIFO as the end of a frame. */
int32_t SSIAdvDataPutFrameEndNonBlocking(uint32_t ui32Base, uint32_t ui32Data)
{
    ASSERT(_SSIBaseValid(ui32Base));
    ASSERT((ui32Data & 0xffffff00) == 0);
    if(HWREG(ui32Base + SSI_O_SR) & SSI_SR_TNF)
    {
        HWREG(ui32Base + SSI_O_CR1) |= SSI_CR1_EOM;
        HWREG(ui32Base + SSI_O_DR) = ui32Data;
        return(1);
    }
    else
    {
        return(0);
    }
}