STM32F479xx HAL User Manual
Defines
GPIO mode define
GPIO Exported Constants

GPIO Configuration Mode Elements values convention: 0x00WX00YZ. More...

Defines

#define GPIO_MODE_INPUT   MODE_INPUT
#define GPIO_MODE_OUTPUT_PP   (MODE_OUTPUT | OUTPUT_PP)
#define GPIO_MODE_OUTPUT_OD   (MODE_OUTPUT | OUTPUT_OD)
#define GPIO_MODE_AF_PP   (MODE_AF | OUTPUT_PP)
#define GPIO_MODE_AF_OD   (MODE_AF | OUTPUT_OD)
#define GPIO_MODE_ANALOG   MODE_ANALOG
#define GPIO_MODE_IT_RISING   (MODE_INPUT | EXTI_IT | TRIGGER_RISING)
#define GPIO_MODE_IT_FALLING   (MODE_INPUT | EXTI_IT | TRIGGER_FALLING)
#define GPIO_MODE_IT_RISING_FALLING   (MODE_INPUT | EXTI_IT | TRIGGER_RISING | TRIGGER_FALLING)
#define GPIO_MODE_EVT_RISING   (MODE_INPUT | EXTI_EVT | TRIGGER_RISING)
#define GPIO_MODE_EVT_FALLING   (MODE_INPUT | EXTI_EVT | TRIGGER_FALLING)
#define GPIO_MODE_EVT_RISING_FALLING   (MODE_INPUT | EXTI_EVT | TRIGGER_RISING | TRIGGER_FALLING)

Detailed Description

GPIO Configuration Mode Elements values convention: 0x00WX00YZ.


Define Documentation

#define GPIO_MODE_AF_OD   (MODE_AF | OUTPUT_OD)

Alternate Function Open Drain Mode

Definition at line 122 of file stm32f4xx_hal_gpio.h.

#define GPIO_MODE_AF_PP   (MODE_AF | OUTPUT_PP)

Alternate Function Push Pull Mode

Definition at line 121 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_RCC_MCOConfig().

Analog Mode

Definition at line 124 of file stm32f4xx_hal_gpio.h.

External Event Mode with Falling edge trigger detection

Definition at line 131 of file stm32f4xx_hal_gpio.h.

External Event Mode with Rising edge trigger detection

Definition at line 130 of file stm32f4xx_hal_gpio.h.

External Event Mode with Rising/Falling edge trigger detection

Definition at line 132 of file stm32f4xx_hal_gpio.h.

Input Floating Mode

Definition at line 118 of file stm32f4xx_hal_gpio.h.

External Interrupt Mode with Falling edge trigger detection

Definition at line 127 of file stm32f4xx_hal_gpio.h.

External Interrupt Mode with Rising edge trigger detection

Definition at line 126 of file stm32f4xx_hal_gpio.h.

External Interrupt Mode with Rising/Falling edge trigger detection

Definition at line 128 of file stm32f4xx_hal_gpio.h.

Output Open Drain Mode

Definition at line 120 of file stm32f4xx_hal_gpio.h.

Output Push Pull Mode

Definition at line 119 of file stm32f4xx_hal_gpio.h.