Public Attributes | List of all members
gpio_init_t Struct Reference
Peripheral Driver » HAL Driver » GPIO » Structures

GPIO init structure definition. More...

`#include <hal_gpio.h>`

## Public Attributes
uint32_t | pin
uint32_t | mode
uint32_t | pull
uint32_t | mux
uint32_t | speed
uint32_t | strength
uint32_t | input_type

## Detailed Description

GPIO init structure definition.

Definition at line 108 of file hal_gpio.h.

## Member Data Documentation

## ◆ input_type

uint32_t gpio_init_t::input_type

Specifies the input type for the selected pins. This parameter can be a value of GPIO input type

Definition at line 128 of file hal_gpio.h.

## ◆ mode

uint32_t gpio_init_t::mode

Specifies the operating mode for the selected pins. This parameter can be a value of GPIO mode

Definition at line 113 of file hal_gpio.h.

## ◆ mux

uint32_t gpio_init_t::mux

Specifies the Peripheral to be connected to the selected pins. This parameter can be a value of Alternate Function.

Definition at line 119 of file hal_gpio.h.

## ◆ pin

uint32_t gpio_init_t::pin

Specifies the GPIO pins to be configured. This parameter can be any value of GPIO pins

Definition at line 110 of file hal_gpio.h.

## ◆ pull

uint32_t gpio_init_t::pull

Specifies the Pull-up or Pull-Down activation for the selected pins. This parameter can be a value of GPIO pull

Definition at line 116 of file hal_gpio.h.

## ◆ speed

uint32_t gpio_init_t::speed

Specifies the Speed for the selected pins. This parameter can be a value of GPIO speed

Definition at line 122 of file hal_gpio.h.

## ◆ strength

uint32_t gpio_init_t::strength

Specifies the Speed for the selected pins. This parameter can be a value of GPIO Strength

Definition at line 125 of file hal_gpio.h.

The documentation for this struct was generated from the following file:

- hal_gpio.h