(LL_DMA_IsActiveFlag_HT1(DMA1) == 1) { LL_DMA_ClearFlag_HT1(DMA1); dma_ht_status = 1; } if(LL_DMA_IsActiveFlag_TE1(DMA1) == 1) { LL_DMA_ClearFlag_TE1(DMA1); dma_te_status = 1; } /* USER CODE END DMA1_Channel1_IRQn 0 */ /* USER CODE BEGIN DMA1_Channel1_IRQn...
基本思路就是先计算好波形发生反转的时刻,放在fifo里,timer 某通道发生比较输出后触发dma,dma讲下一...