STM32F10x Standard Peripherals Library  3.5.0
GPIO_Exported_Types

Data Structures

struct  GPIO_InitTypeDef
 GPIO Init structure definition. More...

Defines

#define IS_GPIO_ALL_PERIPH(PERIPH)
#define IS_GPIO_SPEED(SPEED)
#define IS_GPIO_MODE(MODE)
#define IS_GPIO_BIT_ACTION(ACTION)   (((ACTION) == Bit_RESET) || ((ACTION) == Bit_SET))

Enumerations

enum  GPIOSpeed_TypeDef { GPIO_Speed_10MHz = 1, GPIO_Speed_2MHz, GPIO_Speed_50MHz }
 Output Maximum frequency selection. More...
enum  GPIOMode_TypeDef {
  GPIO_Mode_AIN = 0x0, GPIO_Mode_IN_FLOATING = 0x04, GPIO_Mode_IPD = 0x28, GPIO_Mode_IPU = 0x48,
  GPIO_Mode_Out_OD = 0x14, GPIO_Mode_Out_PP = 0x10, GPIO_Mode_AF_OD = 0x1C, GPIO_Mode_AF_PP = 0x18
}
 Configuration Mode enumeration. More...
enum  BitAction { Bit_RESET = 0, Bit_SET }
 Bit_SET and Bit_RESET enumeration. More...

Define Documentation

#define IS_GPIO_ALL_PERIPH (   PERIPH)
Value:
(((PERIPH) == GPIOA) || \
                                    ((PERIPH) == GPIOB) || \
                                    ((PERIPH) == GPIOC) || \
                                    ((PERIPH) == GPIOD) || \
                                    ((PERIPH) == GPIOE) || \
                                    ((PERIPH) == GPIOF) || \
                                    ((PERIPH) == GPIOG))

Definition at line 46 of file stm32f10x_gpio.h.

#define IS_GPIO_BIT_ACTION (   ACTION)    (((ACTION) == Bit_RESET) || ((ACTION) == Bit_SET))

Definition at line 113 of file stm32f10x_gpio.h.

#define IS_GPIO_MODE (   MODE)
Value:
(((MODE) == GPIO_Mode_AIN) || ((MODE) == GPIO_Mode_IN_FLOATING) || \
                            ((MODE) == GPIO_Mode_IPD) || ((MODE) == GPIO_Mode_IPU) || \
                            ((MODE) == GPIO_Mode_Out_OD) || ((MODE) == GPIO_Mode_Out_PP) || \
                            ((MODE) == GPIO_Mode_AF_OD) || ((MODE) == GPIO_Mode_AF_PP))

Definition at line 82 of file stm32f10x_gpio.h.

#define IS_GPIO_SPEED (   SPEED)
Value:
(((SPEED) == GPIO_Speed_10MHz) || ((SPEED) == GPIO_Speed_2MHz) || \
                              ((SPEED) == GPIO_Speed_50MHz))

Definition at line 64 of file stm32f10x_gpio.h.


Enumeration Type Documentation

enum BitAction

Bit_SET and Bit_RESET enumeration.

Enumerator:
Bit_RESET 
Bit_SET 

Definition at line 108 of file stm32f10x_gpio.h.

Configuration Mode enumeration.

Enumerator:
GPIO_Mode_AIN 
GPIO_Mode_IN_FLOATING 
GPIO_Mode_IPD 
GPIO_Mode_IPU 
GPIO_Mode_Out_OD 
GPIO_Mode_Out_PP 
GPIO_Mode_AF_OD 
GPIO_Mode_AF_PP 

Definition at line 71 of file stm32f10x_gpio.h.

Output Maximum frequency selection.

Enumerator:
GPIO_Speed_10MHz 
GPIO_Speed_2MHz 
GPIO_Speed_50MHz 

Definition at line 58 of file stm32f10x_gpio.h.