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

Macros

#define GPIO_MODE_NONE   (LL_GPIO_MODE_NONE << 0)
 
#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_INOUT << 0)
 
#define GPIO_MODE_IT_RISING   (LL_GPIO_TRIGGER_RISING << 4 | GPIO_MODE_INPUT )
 
#define GPIO_MODE_IT_FALLING   (LL_GPIO_TRIGGER_FALLING << 4 | GPIO_MODE_INPUT)
 
#define GPIO_MODE_IT_HIGH   (LL_GPIO_TRIGGER_HIGH << 4 | GPIO_MODE_INPUT)
 
#define GPIO_MODE_IT_LOW   (LL_GPIO_TRIGGER_LOW << 4 | GPIO_MODE_INPUT)
 
#define GPIO_MODE_IT_BOTH_EDGE   (LL_GPIO_TRIGGER_BOTH_EDGE << 4 | GPIO_MODE_INPUT)
 

Detailed Description

GPIO Configuration Mode Elements values convention: 0x000000YX.

Macro Definition Documentation

◆ GPIO_MODE_INPUT

#define GPIO_MODE_INPUT   (LL_GPIO_MODE_INPUT << 0)

Input Mode

Definition at line 176 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_IT_BOTH_EDGE

#define GPIO_MODE_IT_BOTH_EDGE   (LL_GPIO_TRIGGER_BOTH_EDGE << 4 | GPIO_MODE_INPUT)

Interrupt Mode with Rising and Falling edge trigger detection

Definition at line 183 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_IT_FALLING

#define GPIO_MODE_IT_FALLING   (LL_GPIO_TRIGGER_FALLING << 4 | GPIO_MODE_INPUT)

Interrupt Mode with Falling edge trigger detection

Definition at line 180 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_IT_HIGH

#define GPIO_MODE_IT_HIGH   (LL_GPIO_TRIGGER_HIGH << 4 | GPIO_MODE_INPUT)

Interrupt Mode with High-level trigger detection

Definition at line 181 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_IT_LOW

#define GPIO_MODE_IT_LOW   (LL_GPIO_TRIGGER_LOW << 4 | GPIO_MODE_INPUT)

Interrupt Mode with Low-level trigger detection

Definition at line 182 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_IT_RISING

#define GPIO_MODE_IT_RISING   (LL_GPIO_TRIGGER_RISING << 4 | GPIO_MODE_INPUT )

Interrupt Mode with Rising edge trigger detection

Definition at line 179 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_MUX

#define GPIO_MODE_MUX   (LL_GPIO_MODE_INOUT << 0)

Mux Mode

Definition at line 178 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_NONE

#define GPIO_MODE_NONE   (LL_GPIO_MODE_NONE << 0)

Disable input and output mode

Definition at line 175 of file gr55xx_hal_gpio.h.

◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT   (LL_GPIO_MODE_OUTPUT << 0)

Output Mode

Definition at line 177 of file gr55xx_hal_gpio.h.