insane-adding-machines / unicore-mx

UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X
GNU General Public License v3.0
50 stars 8 forks source link

flag clearing (proper) #31

Closed kuldeepdhaka closed 7 years ago

kuldeepdhaka commented 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); also work. (atleast for STM32F072 - RM0091)

kuldeepdhaka commented 7 years ago

(Issue raised just for reference)