/* Puts a data element into the SSI transmit FIFO as the end of a frame. */
void SSIAdvDataPutFrameEnd(uint32_t ui32Base, uint32_t ui32Data)
/* Puts a data element into the SSI transmit FIFO as the end of a frame. */
void SSIAdvDataPutFrameEnd(uint32_t ui32Base, uint32_t ui32Data)
{
    ASSERT(_SSIBaseValid(ui32Base));
    ASSERT((ui32Data & 0xff) == 0);
    while(!(HWREG(ui32Base + SSI_O_SR) & SSI_SR_TNF))
    {
    }
    HWREG(ui32Base + SSI_O_CR1) |= SSI_CR1_EOM;
    HWREG(ui32Base + SSI_O_DR) = ui32Data;
}