STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
GPIO_InitTypeDef Struct Reference

GPIO Init structure definition. More...

#include <stm32h7xx_hal_gpio.h>

Public Attributes

uint32_t Pin
 Specifies the GPIO pins to be configured.
uint32_t Mode
 Specifies the operating mode for the selected pins.
uint32_t Pull
 Specifies the Pull-up or Pull-Down activation for the selected pins.
uint32_t Speed
 Specifies the speed for the selected pins.
uint32_t Alternate
 Peripheral to be connected to the selected pins.

Detailed Description

GPIO Init structure definition.

Definition at line 46 of file stm32h7xx_hal_gpio.h.

Member Data Documentation

◆ 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 stm32h7xx_hal_gpio.h.

Referenced by HAL_I2C_MspInit(), HAL_MMC_MspInit(), HAL_SPI_MspInit(), HAL_TIM_Base_MspInit(), HAL_TIM_MspPostInit(), and HAL_UART_MspInit().

◆ 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 stm32h7xx_hal_gpio.h.

Referenced by HAL_ADC_MspInit(), HAL_I2C_MspInit(), HAL_MMC_MspInit(), HAL_SPI_MspInit(), HAL_TIM_Base_MspInit(), HAL_TIM_MspPostInit(), HAL_UART_MspInit(), and MX_GPIO_Init().

◆ 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 stm32h7xx_hal_gpio.h.

Referenced by HAL_ADC_MspInit(), HAL_I2C_MspInit(), HAL_MMC_MspInit(), HAL_SPI_MspInit(), HAL_TIM_Base_MspInit(), HAL_TIM_MspPostInit(), HAL_UART_MspInit(), and MX_GPIO_Init().

◆ 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 stm32h7xx_hal_gpio.h.

Referenced by HAL_ADC_MspInit(), HAL_I2C_MspInit(), HAL_MMC_MspInit(), HAL_SPI_MspInit(), HAL_TIM_Base_MspInit(), HAL_TIM_MspPostInit(), HAL_UART_MspInit(), and MX_GPIO_Init().

◆ 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 stm32h7xx_hal_gpio.h.

Referenced by HAL_I2C_MspInit(), HAL_MMC_MspInit(), HAL_SPI_MspInit(), HAL_TIM_Base_MspInit(), HAL_TIM_MspPostInit(), HAL_UART_MspInit(), and MX_GPIO_Init().


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