DMA_Cmd(DMAy_Channelx, ENABLE);// wait until transmission complite from dmaif(DMAy_Channelx == DMA1_Channel1) {while(DMA_GetFlagStatus(DMA1_FLAG_TC1) == RESET) { } }if(DMAy_Channelx == DMA1_Channel2) {while(DMA_GetFlagStatus(DMA1_FLAG_TC2) == RESET) { } }if(DMAy_Chann...