Closed kuldeepdhaka closed 7 years ago
https://github.com/insane-adding-machines/unicore-mx/blob/master/lib/stm32/common/dma_common_l1f013.c#L61 DMA_IFCR(dma) |= DMA_IFCR_CIF(channel);
DMA_IFCR(dma) |= DMA_IFCR_CIF(channel);
DMA_IFCR(dma) = DMA_IFCR_CIF(channel); also work. (atleast for STM32F072 - RM0091)
DMA_IFCR(dma) = DMA_IFCR_CIF(channel);
(Issue raised just for reference)
https://github.com/insane-adding-machines/unicore-mx/blob/master/lib/stm32/common/dma_common_l1f013.c#L61
DMA_IFCR(dma) |= DMA_IFCR_CIF(channel);
DMA_IFCR(dma) = DMA_IFCR_CIF(channel);
also work. (atleast for STM32F072 - RM0091)