summaryrefslogtreecommitdiff
path: root/controller/fw/src/dma_util.h
diff options
context:
space:
mode:
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__ */