RTEMS: bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
stm32f10xxx_gpio.h
Go to the documentation of this file.
1
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
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
51#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H */
utility.h
Utility macros.
stm32f4_afio
Definition: stm32f10xxx_gpio.h:42
stm32f4_gpio
Definition: stm32f10xxx_gpio.h:33