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 |
GPIO init structure definition.
Definition at line 108 of file hal_gpio.h.
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.
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.
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.
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.
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.
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.
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.