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

stm32: add dma_get_number_of_data #48

Closed kuldeepdhaka closed 7 years ago

kuldeepdhaka commented 7 years ago

Just something that's convenient when you need to know how much has been transferred so far.

Find the PR useful. Adds a function like EFM32 dma_get_number_of_data() for STM32.

Reference PR: https://github.com/libopencm3/libopencm3/pull/702. Thanks to @DanielG