|
GPS Device
|
Configuration structure for initializing a GPIO pin. More...
#include <stm32f401re_gpio.h>

Configuration structure for initializing a GPIO pin.
Passed to gpio_init. Fields that are irrelevant for the selected mode are ignored:
Definition at line 168 of file stm32f401re_gpio.h.
| GPIO_REGDEF_ts* GPIO_CFG_ts::port |
Pointer to the GPIO port instance (e.g. GPIOA, GPIOB).
Definition at line 170 of file stm32f401re_gpio.h.
| GPIO_PIN_te GPIO_CFG_ts::pin |
Pin number within the port.
Definition at line 173 of file stm32f401re_gpio.h.
| GPIO_MODE_te GPIO_CFG_ts::mode |
Operating mode of the pin.
Definition at line 176 of file stm32f401re_gpio.h.
| GPIO_OUTPUT_TYPE_te GPIO_CFG_ts::output_type |
Output driver type (push-pull or open-drain).
Definition at line 179 of file stm32f401re_gpio.h.
| GPIO_OUTPUT_SPEED_te GPIO_CFG_ts::output_speed |
Output slew rate.
Definition at line 182 of file stm32f401re_gpio.h.
| GPIO_PULL_MODE_te GPIO_CFG_ts::pull_mode |
Internal pull-up / pull-down configuration.
Definition at line 185 of file stm32f401re_gpio.h.
| GPIO_ALTERNATE_FUNCTION_te GPIO_CFG_ts::alternate_function |
Alternate function mapping (AF0–AF15).
Definition at line 188 of file stm32f401re_gpio.h.
| GPIO_INTERRUPT_TRIGGER_te GPIO_CFG_ts::interrupt_trigger |
Edge trigger selection for interrupt mode.
Definition at line 191 of file stm32f401re_gpio.h.