summaryrefslogtreecommitdiff
path: root/bsp/bluetrum/libcpu/cpu/interrupt.h
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2020-12-28 04:13:25 -0600
committerGitHub <[email protected]>2020-12-28 04:13:25 -0600
commit3bca2cfb418f03c529fc8563b62c19d391caf90b (patch)
tree469dbaebaa3325f64e59b71b4063f135bb6fdfd8 /bsp/bluetrum/libcpu/cpu/interrupt.h
parent84a5f96453ee2719695b719142af08b7a51b623d (diff)
parent936db0e396f286a7f493cdadb698cf9340a82448 (diff)
Merge pull request #7 from RT-Thread/master
pr
Diffstat (limited to 'bsp/bluetrum/libcpu/cpu/interrupt.h')
-rw-r--r--bsp/bluetrum/libcpu/cpu/interrupt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp/bluetrum/libcpu/cpu/interrupt.h b/bsp/bluetrum/libcpu/cpu/interrupt.h
new file mode 100644
index 0000000000..d950f1f9b4
--- /dev/null
+++ b/bsp/bluetrum/libcpu/cpu/interrupt.h
@@ -0,0 +1,7 @@
+#ifndef INTERRUPT_H__
+#define INTERRUPT_H__
+
+void rt_hw_irq_enable(int vector);
+void rt_hw_irq_disable(int vector);
+
+#endif