4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
936 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup stm32f4_gpio |
---|
4 | * @brief STM32F10XXX GPIO support. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * Copyright (c) 2013 Christian Mauderer. All rights reserved. |
---|
9 | * |
---|
10 | * embedded brains GmbH |
---|
11 | * Obere Lagerstr. 30 |
---|
12 | * 82178 Puchheim |
---|
13 | * Germany |
---|
14 | * <rtems@embedded-brains.de> |
---|
15 | * |
---|
16 | * The license and distribution terms for this file may be |
---|
17 | * found in the file LICENSE in this distribution or at |
---|
18 | * http://www.rtems.org/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H |
---|
22 | #define LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H |
---|
23 | |
---|
24 | #include <bsp/utility.h> |
---|
25 | |
---|
26 | /** |
---|
27 | * @defgroup stm32f4_gpio GPIO Support |
---|
28 | * @ingroup stm32f4_io |
---|
29 | * @brief GPIO Support |
---|
30 | * @{ |
---|
31 | */ |
---|
32 | |
---|
33 | typedef struct { |
---|
34 | uint32_t cr[2]; |
---|
35 | uint32_t idr; |
---|
36 | uint32_t odr; |
---|
37 | uint32_t bsrr; |
---|
38 | uint32_t brr; |
---|
39 | uint32_t lckr; |
---|
40 | } stm32f4_gpio; |
---|
41 | |
---|
42 | typedef struct { |
---|
43 | uint32_t evcr; |
---|
44 | uint32_t mapr; |
---|
45 | uint32_t exticr[4]; |
---|
46 | uint32_t mapr2; |
---|
47 | } stm32f4_afio; |
---|
48 | |
---|
49 | /** @} */ |
---|
50 | |
---|
51 | #endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.