aboutsummaryrefslogtreecommitdiff
path: root/stmhal/usrsw.h
diff options
context:
space:
mode:
authorDave Hylands2014-03-14 23:41:28 -0700
committerDave Hylands2014-03-14 23:41:28 -0700
commitca5444e6cd8b566bd4ad78e84162e03ec18e01b6 (patch)
tree64369de8ac0ef6214112340da70c78c474567dc7 /stmhal/usrsw.h
parent0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 (diff)
stmhal - add pin mapping, gpio, exti, usrsw
Diffstat (limited to 'stmhal/usrsw.h')
-rw-r--r--stmhal/usrsw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/usrsw.h b/stmhal/usrsw.h
new file mode 100644
index 000000000..2da8f069b
--- /dev/null
+++ b/stmhal/usrsw.h
@@ -0,0 +1,4 @@
+void switch_init(void);
+int switch_get(void);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_switch_obj);