summaryrefslogtreecommitdiffstatshomepage
path: root/stm/usrsw.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/usrsw.h')
-rw-r--r--stm/usrsw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/stm/usrsw.h b/stm/usrsw.h
new file mode 100644
index 0000000000..2833baaac7
--- /dev/null
+++ b/stm/usrsw.h
@@ -0,0 +1,7 @@
+#ifndef __USRSW_H__
+#define __USRSW_H__
+void sw_init(void);
+int sw_get(void);
+
+mp_obj_t pyb_sw(void);
+#endif //__USRSW_H__