aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/libmaple/api/gpio.rst
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-08-28 16:39:14 -0400
committerbnewbold <bnewbold@robocracy.org>2014-08-28 16:39:20 -0400
commitfc4552f351a01f395e9d1b10b0ada8619ba09d5d (patch)
tree5dd9870da1fb36cefbd7210512a064abf9dbd9ce /docs/source/libmaple/api/gpio.rst
parent3a24a1139bb699234cd66f7aaef6572edf70974d (diff)
downloadlibrambutan-fc4552f351a01f395e9d1b10b0ada8619ba09d5d.tar.gz
librambutan-fc4552f351a01f395e9d1b10b0ada8619ba09d5d.zip
docs: stm32f1/2 namespacing for more variables
There is still a TODO to rework/refactor the entire pages to look prettier, but this keeps breathe from complaining about missing variables (and potentially crashing Sphinx, depending on breathe patch level)
Diffstat (limited to 'docs/source/libmaple/api/gpio.rst')
-rw-r--r--docs/source/libmaple/api/gpio.rst15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/source/libmaple/api/gpio.rst b/docs/source/libmaple/api/gpio.rst
index faf0ad2..9e8e5c7 100644
--- a/docs/source/libmaple/api/gpio.rst
+++ b/docs/source/libmaple/api/gpio.rst
@@ -13,15 +13,18 @@ Input/Output (AFIO) support.
Types
-----
-.. doxygenstruct:: gpio_reg_map
+.. TODO: seperate stm32f1/stm32f2 families correctly
+
+.. doxygenstruct:: stm32f1::gpio_reg_map
+.. doxygenstruct:: stm32f2::gpio_reg_map
.. doxygenstruct:: gpio_dev
.. doxygenenum:: gpio_pin_mode
-.. doxygenstruct:: afio_reg_map
-.. doxygenenum:: afio_exti_port
-.. doxygenenum:: afio_exti_num
-.. doxygenenum:: afio_remap_peripheral
-.. doxygenenum:: afio_debug_cfg
+.. doxygenstruct:: stm32f1::afio_reg_map
+.. doxygentypedef:: stm32f1::afio_exti_port
+.. doxygentypedef:: stm32f1::afio_exti_num
+.. doxygentypedef:: stm32f1::afio_remap_peripheral
+.. doxygentypedef:: stm32f1::afio_debug_cfg
Devices
-------