Macros
GPIO mode
Peripheral Driver » HAL Driver » GPIO » Defines » GPIO Exported Constants

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

## Macros
#define | GPIO_MODE_INPUT (LL_GPIO_MODE_INPUT << 0)
#define | GPIO_MODE_OUTPUT (LL_GPIO_MODE_OUTPUT << 0)
#define | GPIO_MODE_MUX (LL_GPIO_MODE_MUX << 0)
#define | GPIO_MODE_IT_RISING (LL_GPIO_TRIGGER_RISING << 4)
#define | GPIO_MODE_IT_FALLING (LL_GPIO_TRIGGER_FALLING << 4)
#define | GPIO_MODE_IT_HIGH (LL_GPIO_TRIGGER_HIGH << 4)
#define | GPIO_MODE_IT_LOW (LL_GPIO_TRIGGER_LOW << 4)

## Detailed Description

GPIO Configuration Mode Elements values convention: 0x000000YX.

- X : IO Direction mode (Input, Output, Mux)
- Y : IT trigger detection

## Macro Definition Documentation

## ◆ GPIO_MODE_INPUT

#define GPIO_MODE_INPUT (LL_GPIO_MODE_INPUT << 0)

Input Mode

Definition at line 166 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_IT_FALLING

#define GPIO_MODE_IT_FALLING (LL_GPIO_TRIGGER_FALLING << 4)

Interrupt Mode with Falling edge trigger detection

Definition at line 170 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_IT_HIGH

#define GPIO_MODE_IT_HIGH (LL_GPIO_TRIGGER_HIGH << 4)

Interrupt Mode with High-level trigger detection

Definition at line 171 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_IT_LOW

#define GPIO_MODE_IT_LOW (LL_GPIO_TRIGGER_LOW << 4)

Interrupt Mode with Low-level trigger detection

Definition at line 172 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_IT_RISING

#define GPIO_MODE_IT_RISING (LL_GPIO_TRIGGER_RISING << 4)

Interrupt Mode with Rising edge trigger detection

Definition at line 169 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_MUX

#define GPIO_MODE_MUX (LL_GPIO_MODE_MUX << 0)

Mux Mode

Definition at line 168 of file gr55xx_hal_gpio.h.

## ◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT (LL_GPIO_MODE_OUTPUT << 0)

Output Mode

Definition at line 167 of file gr55xx_hal_gpio.h.