aboutsummaryrefslogtreecommitdiffstats
path: root/include/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/task.h')
-rw-r--r--include/task.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/task.h b/include/task.h
new file mode 100644
index 0000000..c57b2c0
--- /dev/null
+++ b/include/task.h
@@ -0,0 +1,10 @@
+#ifndef TASK_H_
+#define TASK_H_
+
+#include <stdint.h>
+
+void task_init(void (*init)(void));
+
+void task_start(void (*task)(void), uint16_t stackSize);
+
+#endif // TASK_H_