/* Check if the last data written in SSC_THR has been loaded in TSR and the last data loaded in TSR has been transmitted.  */
uint32_t ssc_is_tx_empty(Ssc *p_ssc)
/* Check if the last data written in SSC_THR has been loaded in TSR and the last data loaded in TSR has been transmitted.  */
uint32_t ssc_is_tx_empty(Ssc *p_ssc)
{
	if (p_ssc->SSC_SR & SSC_SR_TXEMPTY) {
		return SSC_RC_YES;
	}
	return SSC_RC_NO;
}