summaryrefslogtreecommitdiffstats
path: root/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h')
-rw-r--r--bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
new file mode 100644
index 0000000000..b129c23595
--- /dev/null
+++ b/bsps/arm/stm32f4/include/bsp/stm32f4xxxx_gpio.h
@@ -0,0 +1,39 @@
+/**
+ * @file
+ * @ingroup stm32f4_gpio
+ * @brief STM32F4XXXX GPIO support.
+ */
+
+/*
+ * Copyright (c) 2012 Sebastian Huber. All rights reserved.
+ *
+ * embedded brains GmbH
+ * Obere Lagerstr. 30
+ * 82178 Puchheim
+ * Germany
+ * <rtems@embedded-brains.de>
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#ifndef LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
+#define LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
+
+#include <bsp/utility.h>
+
+typedef struct {
+ uint32_t moder;
+ uint32_t otyper;
+ uint32_t ospeedr;
+ uint32_t pupdr;
+ uint32_t idr;
+ uint32_t odr;
+ uint32_t bsrr;
+ uint32_t lckr;
+ uint32_t afr [2];
+ uint32_t reserved_28 [246];
+} stm32f4_gpio;
+
+#endif /* LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H */