Modules | Macros
GPIO Exported Constants
Peripheral Driver » HAL Driver » GPIO » Defines

## Modules
| GPIO pins
| Alternate Function
| GPIO mode
| GPIO Configuration Mode Elements values convention: 0x000000YX.
| GPIO pull
| GPIO Pull-Up or Pull-Down Activation.
| GPIO speed
| GPIO speed selection.
| GPIO Strength
| GPIO drive strength selection.
| GPIO input type
| GPIO input type selection.

## Macros
#define | GPIO_DEFAULT_CONFIG
| GPIO_default_config InitStruct default configuration. More...

## Detailed Description

## Macro Definition Documentation

## ◆ GPIO_DEFAULT_CONFIG

#define GPIO_DEFAULT_CONFIG

Value:
{ \
.pin = GPIO_PIN_ALL, \
.mode = GPIO_MODE_INPUT, \
.pull = GPIO_PULLDOWN, \
.mux = IO_MUX_GPIO, \
.speed = GPIO_SPEED_MEDIUM, \
.strength = GPIO_STRENGTH_MEDIUM, \
.input_type = GPIO_INPUT_TYPE_CMOS, \
}

GPIO_default_config InitStruct default configuration.

Definition at line 242 of file hal_gpio.h.

GPIO_PULLDOWN
#define GPIO_PULLDOWN
Definition: hal_gpio.h:211
GPIO_INPUT_TYPE_CMOS
#define GPIO_INPUT_TYPE_CMOS
Definition: hal_gpio.h:236
IO_MUX_GPIO
#define IO_MUX_GPIO
Definition: hal_gpio.h:179
GPIO_MODE_INPUT
#define GPIO_MODE_INPUT
Definition: hal_gpio.h:191
GPIO_STRENGTH_MEDIUM
#define GPIO_STRENGTH_MEDIUM
Definition: hal_gpio.h:227
GPIO_SPEED_MEDIUM
#define GPIO_SPEED_MEDIUM
Definition: hal_gpio.h:218
GPIO_PIN_ALL
#define GPIO_PIN_ALL
Definition: hal_gpio.h:163