/* Get the number of valid entries in receive FIFO.  */
u32 USI_SSI_GetRxCount(USI_TypeDef *usi_dev)
/* Get the number of valid entries in receive FIFO.  */
u32 USI_SSI_GetRxCount(USI_TypeDef *usi_dev)
{
	u32 valid_cnt = (USI_SSI_GetRxFIFOStatus(usi_dev) & USI_RXFIFO_VALID_CNT) >> 8;
	return valid_cnt;
}