STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
GPIO_InitTypeDef Struct Reference

GPIO Init structure definition
More...

#include <stm32f4xx_hal_gpio.h>

Collaboration diagram for GPIO_InitTypeDef:

Data Fields

uint32_t Pin
 
uint32_t Mode
 
uint32_t Pull
 
uint32_t Speed
 
uint32_t Alternate
 

Detailed Description

GPIO Init structure definition

Definition at line 46 of file stm32f4xx_hal_gpio.h.

Field Documentation

◆ Pin

uint32_t GPIO_InitTypeDef::Pin

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

Definition at line 48 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init(), and HAL_RCC_MCOConfig().

◆ Mode

uint32_t GPIO_InitTypeDef::Mode

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

Definition at line 51 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init(), and HAL_RCC_MCOConfig().

◆ Pull

uint32_t GPIO_InitTypeDef::Pull

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

Definition at line 54 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init(), and HAL_RCC_MCOConfig().

◆ Speed

uint32_t GPIO_InitTypeDef::Speed

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

Definition at line 57 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init(), and HAL_RCC_MCOConfig().

◆ Alternate

uint32_t GPIO_InitTypeDef::Alternate

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

Definition at line 60 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init(), and HAL_RCC_MCOConfig().


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