summaryrefslogtreecommitdiff
path: root/controller/fw/src/dma_util.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-16 19:19:34 +0100
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-03-16 19:19:34 +0100
commita1dc923315514ed6f23da5f2c0950830975299f8 (patch)
tree9954004d0517c73b57a2021213a91975b7779931 /controller/fw/src/dma_util.h
parentfed186a49fc8f27a8a31fd40f8c8b26d32a4b932 (diff)
downloadmaster-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.gz
master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.tar.bz2
master-thesis-a1dc923315514ed6f23da5f2c0950830975299f8.zip
Fix serial
Diffstat (limited to 'controller/fw/src/dma_util.h')
-rw-r--r--controller/fw/src/dma_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/controller/fw/src/dma_util.h b/controller/fw/src/dma_util.h
new file mode 100644
index 0000000..5ea2676
--- /dev/null
+++ b/controller/fw/src/dma_util.h
@@ -0,0 +1,10 @@
+#ifndef __DMA_UTIL_H__
+#define __DMA_UTIL_H__
+
+#include <stdint.h>
+
+#include "sr_global.h"
+
+uint8_t dma_get_isr_and_clear(DMA_TypeDef *dma, int ch);
+
+#endif /* __DMA_UTIL_H__ */