Classes | Macros | Enumerations
Collaboration diagram for GPIO_Exported_Types:

Classes

struct  GPIO_InitTypeDef
 GPIO Init structure definition. More...
 

Macros

#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_RESET = 0, Bit_SET,
  Bit_RESET = 0, Bit_SET, Bit_RESET = 0, Bit_SET
}
 Bit_SET and Bit_RESET enumeration. More...
 
enum  GPIOMode_TypeDef {
  GPIO_Mode_IN = 0x00, GPIO_Mode_OUT = 0x01, GPIO_Mode_AF = 0x02, GPIO_Mode_AN = 0x03,
  GPIO_Mode_IN = 0x00, GPIO_Mode_OUT = 0x01, GPIO_Mode_AF = 0x02, GPIO_Mode_AN = 0x03,
  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,
  GPIO_Mode_IN = 0x00, GPIO_Mode_OUT = 0x01, GPIO_Mode_AF = 0x02, GPIO_Mode_AN = 0x03
}
 Configuration Mode enumeration. More...
 
enum  GPIOSpeed_TypeDef {
  GPIO_Low_Speed = 0x00, GPIO_Medium_Speed = 0x01, GPIO_Fast_Speed = 0x02, GPIO_High_Speed = 0x03,
  GPIO_Speed_2MHz = 0x00, GPIO_Speed_25MHz = 0x01, GPIO_Speed_50MHz = 0x02, GPIO_Speed_100MHz = 0x03,
  GPIO_Speed_10MHz = 1, GPIO_Speed_2MHz, GPIO_Speed_50MHz, GPIO_Speed_Level_1 = 0x01,
  GPIO_Speed_Level_2 = 0x02, GPIO_Speed_Level_3 = 0x03
}
 Output Maximum frequency selection. More...
 

Detailed Description

Macro Definition Documentation

#define IS_GPIO_ALL_PERIPH (   PERIPH)
Value:
(((PERIPH) == GPIOA) || \
((PERIPH) == GPIOB) || \
((PERIPH) == GPIOC) || \
((PERIPH) == GPIOD) || \
((PERIPH) == GPIOE) || \
((PERIPH) == GPIOF) || \
((PERIPH) == GPIOG))
#define GPIOA
Definition: stm32f4xx.h:2110
#define GPIOB
Definition: stm32f4xx.h:2111
#define GPIOG
Definition: stm32f4xx.h:2116
#define GPIOC
Definition: stm32f4xx.h:2112
#define GPIOD
Definition: stm32f4xx.h:2113
#define GPIOF
Definition: stm32f4xx.h:2115
#define GPIOE
Definition: stm32f4xx.h:2114

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)
#define IS_GPIO_SPEED (   SPEED)
Value:

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 
Bit_RESET 
Bit_SET 
Bit_RESET 
Bit_SET 
Bit_RESET 
Bit_SET 

Definition at line 108 of file stm32f10x_gpio.h.

Configuration Mode enumeration.

Enumerator
GPIO_Mode_IN 

GPIO Input Mode

GPIO_Mode_OUT 

GPIO Output Mode

GPIO_Mode_AF 

GPIO Alternate function Mode

GPIO_Mode_AN 

GPIO Analog Mode

GPIO_Mode_IN 

GPIO Input Mode

GPIO_Mode_OUT 

GPIO Output Mode

GPIO_Mode_AF 

GPIO Alternate function Mode

GPIO_Mode_AN 

GPIO Analog Mode

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 
GPIO_Mode_IN 

GPIO Input Mode

GPIO_Mode_OUT 

GPIO Output Mode

GPIO_Mode_AF 

GPIO Alternate function Mode

GPIO_Mode_AN 

GPIO Analog In/Out Mode

Definition at line 71 of file stm32f10x_gpio.h.

Output Maximum frequency selection.

Enumerator
GPIO_Low_Speed 

Low speed

GPIO_Medium_Speed 

Medium speed

GPIO_Fast_Speed 

Fast speed

GPIO_High_Speed 

High speed

GPIO_Speed_2MHz 

Low speed

GPIO_Speed_25MHz 

Medium speed

GPIO_Speed_50MHz 

Fast speed

GPIO_Speed_100MHz 

High speed on 30 pF (80 MHz Output max speed on 15 pF)

GPIO_Speed_10MHz 
GPIO_Speed_2MHz 
GPIO_Speed_50MHz 
GPIO_Speed_Level_1 

Fast Speed

GPIO_Speed_Level_2 

Meduim Speed

GPIO_Speed_Level_3 

High Speed

Definition at line 58 of file stm32f10x_gpio.h.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Apr 15 2021 05:07:56