summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/task.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/task.h b/include/task.h
index 3b4549c955..d67cfc310c 100644
--- a/include/task.h
+++ b/include/task.h
@@ -79,6 +79,11 @@ void interrupt_disable(void);
*/
void interrupt_enable(void);
+/**
+ * Check if interrupts are enabled
+ */
+int is_interrupt_enabled(void);
+
/*
* Define irq_lock and irq_unlock that match the function signatures to Zephyr's
* functions. In reality, these simply call the current implementation of