Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:23:05

0001 /**
0002  * @file
0003  * @ingroup stm32f4_gpio
0004  * @brief STM32F4XXXX GPIO support.
0005  */
0006 
0007 /*
0008  * Copyright (c) 2012 Sebastian Huber.  All rights reserved.
0009  *
0010  * The license and distribution terms for this file may be
0011  * found in the file LICENSE in this distribution or at
0012  * http://www.rtems.org/license/LICENSE.
0013  */
0014 
0015 #ifndef LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
0016 #define LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H
0017 
0018 #include <bsp/utility.h>
0019 
0020 typedef struct {
0021     uint32_t moder;
0022     uint32_t otyper;
0023     uint32_t ospeedr;
0024     uint32_t pupdr;
0025     uint32_t idr;
0026     uint32_t odr;
0027     uint32_t bsrr;
0028     uint32_t lckr;
0029     uint32_t afr [2];
0030     uint32_t reserved_28 [246];
0031 } stm32f4_gpio;
0032 
0033 #endif /* LIBBSP_ARM_STM32F4_STM32F4XXXX_GPIO_H */