ARMEBS4  revision-26.06.2015
Data Fields

General Purpose I/O. More...

#include "C:/Programs/ARMEBS4/current/doc/eclipse-doc/ext/libheivs_stm32/include/stm32/stm32f4xx.h"

Collaboration diagram for GPIO_TypeDef:
Collaboration graph

Data Fields

__IO uint32_t MODER
 
__IO uint32_t OTYPER
 
__IO uint32_t OSPEEDR
 
__IO uint32_t PUPDR
 
__IO uint32_t IDR
 
__IO uint32_t ODR
 
__IO uint16_t BSRRL
 
__IO uint16_t BSRRH
 
__IO uint32_t LCKR
 
__IO uint32_t AFR [2]
 

Detailed Description

General Purpose I/O.

Definition at line 643 of file stm32f4xx.h.

Field Documentation

__IO uint32_t GPIO_TypeDef::MODER

GPIO port mode register, Address offset: 0x00

Definition at line 645 of file stm32f4xx.h.

Referenced by gpio_set_direction(), and gpio_setup().

__IO uint32_t GPIO_TypeDef::OTYPER

GPIO port output type register, Address offset: 0x04

Definition at line 646 of file stm32f4xx.h.

Referenced by gpio_setup().

__IO uint32_t GPIO_TypeDef::OSPEEDR

GPIO port output speed register, Address offset: 0x08

Definition at line 647 of file stm32f4xx.h.

Referenced by gpio_setup().

__IO uint32_t GPIO_TypeDef::PUPDR

GPIO port pull-up/pull-down register, Address offset: 0x0C

Definition at line 648 of file stm32f4xx.h.

Referenced by gpio_setup().

__IO uint32_t GPIO_TypeDef::IDR

GPIO port input data register, Address offset: 0x10

Definition at line 649 of file stm32f4xx.h.

Referenced by gpio_get().

__IO uint32_t GPIO_TypeDef::ODR

GPIO port output data register, Address offset: 0x14

Definition at line 650 of file stm32f4xx.h.

Referenced by gpio_get_internal(), and gpio_toggle().

__IO uint16_t GPIO_TypeDef::BSRRL

GPIO port bit set/reset low register, Address offset: 0x18

Definition at line 651 of file stm32f4xx.h.

Referenced by gpio_set(), and gpio_toggle().

__IO uint16_t GPIO_TypeDef::BSRRH

GPIO port bit set/reset high register, Address offset: 0x1A

Definition at line 652 of file stm32f4xx.h.

Referenced by gpio_set().

__IO uint32_t GPIO_TypeDef::LCKR

GPIO port configuration lock register, Address offset: 0x1C

Definition at line 653 of file stm32f4xx.h.

__IO uint32_t GPIO_TypeDef::AFR[2]

GPIO alternate function registers, Address offset: 0x20-0x24

Definition at line 654 of file stm32f4xx.h.

Referenced by gpio_setup().