aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f2/gpio.h
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2012-09-10 12:21:21 -0700
committerPiotr Esden-Tempski2012-09-10 12:21:21 -0700
commit02ea612142fb93d43698b10502a05f6ccd2ec781 (patch)
tree575f5a1be19a9c5133fcd9d0593ad7bb60c99f34 /include/libopencm3/stm32/f2/gpio.h
parent9af50d6e5cf0681b276438acfd92c9975290f1b2 (diff)
parent5ad8f26ede984cbf820707a11e1ddbc8ea52d06b (diff)
Merge pull request #25 "Add support for C++ and fix some comments typo"
Merge remote-tracking branch 'schodet/master' Conflicts: include/libopencm3/stm32/f1/adc.h
Diffstat (limited to 'include/libopencm3/stm32/f2/gpio.h')
-rw-r--r--include/libopencm3/stm32/f2/gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f2/gpio.h b/include/libopencm3/stm32/f2/gpio.h
index 1a9fd0f..6616769 100644
--- a/include/libopencm3/stm32/f2/gpio.h
+++ b/include/libopencm3/stm32/f2/gpio.h
@@ -254,6 +254,8 @@
/* --- Function prototypes ------------------------------------------------- */
+BEGIN_DECLS
+
/*
* Note: The F2 series has a completely new GPIO peripheral with different
* configuration options. Here we implement a different API partly to more
@@ -275,4 +277,6 @@ u16 gpio_port_read(u32 gpioport);
void gpio_port_write(u32 gpioport, u16 data);
void gpio_port_config_lock(u32 gpioport, u16 gpios);
+END_DECLS
+
#endif