source: rtems/bsps/arm/stm32f4/include/bsp/stm32f10xxx_gpio.h @ ba619b7f

Last change on this file since ba619b7f was ba619b7f, checked in by Joel Sherrill <joel@…>, on 03/01/22 at 21:38:20

bsps/arm/: Scripted embedded brains header file clean up

Updates #4625.

  • Property mode set to 100644
File size: 823 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 * 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.org/license/LICENSE.
13 */
14
15#ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H
16#define LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H
17
18#include <bsp/utility.h>
19
20/**
21 * @defgroup stm32f4_gpio GPIO Support
22 * @ingroup stm32f4_io
23 * @brief GPIO Support
24 * @{
25 */
26
27typedef struct {
28        uint32_t cr[2];
29        uint32_t idr;
30        uint32_t odr;
31        uint32_t bsrr;
32        uint32_t brr;
33        uint32_t lckr;
34} stm32f4_gpio;
35
36typedef struct {
37        uint32_t evcr;
38        uint32_t mapr;
39        uint32_t exticr[4];
40        uint32_t mapr2;
41} stm32f4_afio;
42
43/** @} */
44
45#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_GPIO_H */
Note: See TracBrowser for help on using the repository browser.