summaryrefslogtreecommitdiffstatshomepage
path: root/stm/gpio.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-08 16:40:08 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-08 16:40:08 +0000
commitc3d35c6ac7348e8dc9072bb67b2c62294764fe00 (patch)
treef7eed83b56bb6814bd78b3c1b8fddb7df3b74ad2 /stm/gpio.h
parent01d50d0d586a0e2630613120336faf75277d22d6 (diff)
downloadmicropython-c3d35c6ac7348e8dc9072bb67b2c62294764fe00.tar.gz
micropython-c3d35c6ac7348e8dc9072bb67b2c62294764fe00.zip
stm: Put pyb module in ROM.
Diffstat (limited to 'stm/gpio.h')
-rw-r--r--stm/gpio.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/stm/gpio.h b/stm/gpio.h
index 1071c9ef01..f48e953474 100644
--- a/stm/gpio.h
+++ b/stm/gpio.h
@@ -1,4 +1,5 @@
-mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args);
mp_obj_t pyb_gpio_input(mp_obj_t arg_pin, mp_obj_t arg_mode);
-mp_obj_t pyb_gpio_output(mp_obj_t arg_pin, mp_obj_t arg_mode);
-void gpio_init(mp_obj_t mod);
+
+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);