GPIO_Exported_Types
[GPIO]

Data Structures

struct  GPIO_InitTypeDef
 GPIO Init structure definition. More...

Defines

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

Enumerations

enum  BitAction { Bit_RESET = 0, Bit_SET }
 

Bit_SET and Bit_RESET enumeration.

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  GPIOSpeed_TypeDef { GPIO_Speed_10MHz = 1, GPIO_Speed_2MHz, GPIO_Speed_50MHz }
 

Output Maximum frequency selection.

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 45 of file stm32f10x_gpio.h.

Referenced by GPIO_DeInit(), GPIO_Init(), GPIO_PinLockConfig(), GPIO_ReadInputData(), GPIO_ReadInputDataBit(), GPIO_ReadOutputData(), GPIO_ReadOutputDataBit(), GPIO_ResetBits(), GPIO_SetBits(), GPIO_Write(), and GPIO_WriteBit().

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

Definition at line 112 of file stm32f10x_gpio.h.

Referenced by GPIO_WriteBit().

#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 81 of file stm32f10x_gpio.h.

Referenced by GPIO_Init().

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

Definition at line 63 of file stm32f10x_gpio.h.

Referenced by GPIO_Init().


Enumeration Type Documentation

enum BitAction

Bit_SET and Bit_RESET enumeration.

Enumerator:
Bit_RESET 
Bit_SET 

Definition at line 107 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 70 of file stm32f10x_gpio.h.

Output Maximum frequency selection.

Enumerator:
GPIO_Speed_10MHz 
GPIO_Speed_2MHz 
GPIO_Speed_50MHz 

Definition at line 57 of file stm32f10x_gpio.h.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32