Question
c code
Posted on October 23, 2016 at 02:16
Hello folks,
Would anyone know why this does NOT work while (DMA1->ISR & DMA_ISR_TCIF1==0); //wait until transfer complete but this WORKs tc_flag=DMA1->ISR & DMA_ISR_TCIF1; //save transfer complete flag while (!tc_flag){ tc_flag=DMA1->ISR & DMA_ISR_TCIF1; //wait until transfer complete } Thank you #c