STM32F103xB HAL User Manual
Defines
GPIO Private Constants
GPIO

Defines

#define GPIO_MODE   0x00000003u
#define EXTI_MODE   0x10000000u
#define GPIO_MODE_IT   0x00010000u
#define GPIO_MODE_EVT   0x00020000u
#define RISING_EDGE   0x00100000u
#define FALLING_EDGE   0x00200000u
#define GPIO_OUTPUT_TYPE   0x00000010u
#define GPIO_NUMBER   16u
#define GPIO_CR_MODE_INPUT   0x00000000u
#define GPIO_CR_CNF_ANALOG   0x00000000u
#define GPIO_CR_CNF_INPUT_FLOATING   0x00000004u
#define GPIO_CR_CNF_INPUT_PU_PD   0x00000008u
#define GPIO_CR_CNF_GP_OUTPUT_PP   0x00000000u
#define GPIO_CR_CNF_GP_OUTPUT_OD   0x00000004u
#define GPIO_CR_CNF_AF_OUTPUT_PP   0x00000008u
#define GPIO_CR_CNF_AF_OUTPUT_OD   0x0000000Cu

Define Documentation

#define EXTI_MODE   0x10000000u

Definition at line 124 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define FALLING_EDGE   0x00200000u

Definition at line 128 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_AF_OUTPUT_OD   0x0000000Cu

11: Alternate function output Open-drain

Definition at line 141 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_AF_OUTPUT_PP   0x00000008u

10: Alternate function output Push-pull

Definition at line 140 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_ANALOG   0x00000000u

00: Analog mode

Definition at line 135 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_GP_OUTPUT_OD   0x00000004u

01: General purpose output Open-drain

Definition at line 139 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_GP_OUTPUT_PP   0x00000000u

00: General purpose output push-pull

Definition at line 138 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_INPUT_FLOATING   0x00000004u

01: Floating input (reset state)

Definition at line 136 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_CNF_INPUT_PU_PD   0x00000008u

10: Input with pull-up / pull-down

Definition at line 137 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_CR_MODE_INPUT   0x00000000u

00: Input mode (reset state)

Definition at line 134 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_MODE   0x00000003u

Definition at line 123 of file stm32f1xx_hal_gpio.c.

#define GPIO_MODE_EVT   0x00020000u

Definition at line 126 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_MODE_IT   0x00010000u

Definition at line 125 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().

#define GPIO_NUMBER   16u

Definition at line 131 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_TogglePin().

#define GPIO_OUTPUT_TYPE   0x00000010u

Definition at line 129 of file stm32f1xx_hal_gpio.c.

#define RISING_EDGE   0x00100000u

Definition at line 127 of file stm32f1xx_hal_gpio.c.

Referenced by HAL_GPIO_Init().