summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/gpio.h')
-rw-r--r--stmhal/gpio.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/stmhal/gpio.h b/stmhal/gpio.h
new file mode 100644
index 0000000000..f43adfdac0
--- /dev/null
+++ b/stmhal/gpio.h
@@ -0,0 +1,7 @@
+mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args);
+mp_obj_t pyb_gpio_output(uint n_args, mp_obj_t *args);
+mp_obj_t pyb_gpio_input(uint n_args, mp_obj_t *args);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_input_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_gpio_output_obj);