/* Detemine SPIx Receive FIFO is empty or not.  */
u32 SSI_Readable(SPI_TypeDef *spi_dev)
/* Detemine SPIx Receive FIFO is empty or not.  */
u32 SSI_Readable(SPI_TypeDef *spi_dev)
{
	u32 Status = SSI_GetStatus(spi_dev);
	u32 Readable = (((Status & BIT_SR_RFNE) != 0) ? 1 : 0);
	return Readable;
}