/* Start or stop Rx DMA. When stop RX DMA, clear DMA OWM bit.  */
void I2S_RxDmaCmd(I2S_TypeDef *I2Sx, u32 NewState)
/* Start or stop Rx DMA. When stop RX DMA, clear DMA OWM bit.  */
void I2S_RxDmaCmd(I2S_TypeDef *I2Sx, u32 NewState)
{
	u32 i;
	u32 own = 0x00000000;
	if (NewState == DISABLE) {
		own &= ~BIT_IS_PAGE_OWN;
	} else {
		own = BIT_IS_PAGE_OWN;
	}
	for (i = 0; i < 4; i++) {
		I2Sx->IS_RX_PAGE_OWN[i] = own;
	}
}