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

Macros

#define GPIO_MODE_NONE   (LL_GPIO_MODE_NONE)
 
#define GPIO_MODE_INPUT   (LL_GPIO_MODE_INPUT)
 
#define GPIO_MODE_OUTPUT   (LL_GPIO_MODE_OUTPUT)
 
#define GPIO_MODE_MUX   (LL_GPIO_MODE_INOUT)
 
#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)

Input Mode

Definition at line 191 of file 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 201 of file 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 198 of file 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 199 of file 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 200 of file 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 197 of file hal_gpio.h.

◆ GPIO_MODE_MUX

#define GPIO_MODE_MUX   (LL_GPIO_MODE_INOUT)

Mux Mode

Definition at line 193 of file hal_gpio.h.

◆ GPIO_MODE_NONE

#define GPIO_MODE_NONE   (LL_GPIO_MODE_NONE)

Disable input and output mode

Definition at line 190 of file hal_gpio.h.

◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT   (LL_GPIO_MODE_OUTPUT)

Output Mode

Definition at line 192 of file hal_gpio.h.