stm32 f107 i2s and sd card via dma
void DMA1_Channel5_IRQHandler() { if(DMA_GetFlagStatus(DMA1_FLAG_TC5)) { transfer_complete_flag=1; DMA_ClearFlag(DMA1_FLAG_TC5); } if(DMA_GetFlagStatus(DMA1_FLAG_HT5)) { ht_c=1; DMA_ClearFlag(DMA1_FLAG_HT5); } } int counter=0; ...