Nut/OS  5.0.5
API Reference
GPIO_TypeDef Struct Reference

General Purpose I/O. More...

#include <stm32f10x.h>

Collaboration diagram for GPIO_TypeDef:
[legend]

Data Fields

__IO uint32_t CRL
__IO uint32_t CRH
__IO uint32_t IDR
__IO uint32_t ODR
__IO uint32_t BSRR
__IO uint32_t BRR
__IO uint32_t LCKR
__IO uint32_t MODER
__IO uint32_t OTYPER
__IO uint32_t OSPEEDR
__IO uint32_t PUPDR
__IO uint16_t BSRRL
__IO uint16_t BSRRH
__IO uint32_t AFR [2]
__IO uint16_t OTYPER
uint16_t RESERVED0
__IO uint16_t IDR
uint16_t RESERVED1
__IO uint16_t ODR
uint16_t RESERVED2
__IO uint16_t BRR
uint16_t RESERVED3

Detailed Description

General Purpose I/O.

General Purpose IO.


Field Documentation

GPIO port input data register, Address offset: 0x10

GPIO port output data register, Address offset: 0x14

GPIO port configuration lock register, Address offset: 0x1C

GPIO port mode register, Address offset: 0x00

Referenced by GpioPinConfigGet().

GPIO port output type register, Address offset: 0x04

Referenced by GpioPinConfigGet().

GPIO port output speed register, Address offset: 0x08

Referenced by GpioPinConfigGet().

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

Referenced by GpioPinConfigGet().

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

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

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

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

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

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

GPIO alternate function low register, Address offset: 0x20-0x24

Referenced by GPIO_PinAFConfig().

GPIO port output type register, Address offset: 0x04

GPIO port input data register, Address offset: 0x10

GPIO port output data register, Address offset: 0x14

GPIO bit reset register, Address offset: 0x28


The documentation for this struct was generated from the following files: