blob: a2742bfba093bcf8e324e636dcb21ee7bd3efbd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*
* Copyright (c) 2013 Christian Mauderer. 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.com/license/LICENSE.
*/
#ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H
#define LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H
#include <bsp/utility.h>
typedef struct {
uint32_t cr[2];
uint32_t idr;
uint32_t odr;
uint32_t bsrr;
uint32_t brr;
uint32_t lckr;
} stm32f4_gpio;
typedef struct {
uint32_t evcr;
uint32_t mapr;
uint32_t exticr[4];
uint32_t mapr2;
} stm32f4_afio;
#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H */
|