/* Detemines whether USI-SPI transmit FIFO is full or not.  */
u32 USI_SSI_Writeable(USI_TypeDef *usi_dev)
/* Detemines whether USI-SPI transmit FIFO is full or not.  */
u32 USI_SSI_Writeable(USI_TypeDef *usi_dev)
{
	u32 Status = USI_SSI_GetTxFIFOStatus(usi_dev);
	u32 Writeable = (((Status & USI_TXFIFO_FULL) == 0) ? 1 : 0);
	return Writeable;
}