source: rtems/c/src/lib/libbsp/arm/stm32f4/include/stm32f4xxxx_gpio.h @ 1485a58

4.115
Last change on this file since 1485a58 was 1485a58, checked in by Christian Mauderer <Christian.Mauderer@…>, on 09/18/13 at 13:44:42

bsp/stm32f4: Add STM32F10XXX support.

  • Property mode set to 100644
File size: 726 bytes
Line 
1/*
2 * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Obere Lagerstr. 30
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
16#define LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
17
18#include <bsp/utility.h>
19
20typedef struct {
21        uint32_t moder;
22        uint32_t otyper;
23        uint32_t ospeedr;
24        uint32_t pupdr;
25        uint32_t idr;
26        uint32_t odr;
27        uint32_t bsrr;
28        uint32_t lckr;
29        uint32_t afr [2];
30        uint32_t reserved_28 [246];
31} stm32f4_gpio;
32
33#endif /* LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H */
Note: See TracBrowser for help on using the repository browser.