/* Check tx page is own by CPU or I2S.  */
u32 I2S_TxPageBusy(I2S_TypeDef *I2Sx, u32 page_index)
/* Check tx page is own by CPU or I2S.  */
u32 I2S_TxPageBusy(I2S_TypeDef *I2Sx, u32 page_index)
{
	u32 reg;
	reg = I2Sx->IS_TX_PAGE_OWN[page_index];
	if ((reg & (1<<31)) == 0) {
		return 0;
	} else {
		return 1;
	}
}