STM32F4xx_HAL_Driver  1.8.3
Initialization and de-initialization functions
+ Collaboration diagram for Initialization and de-initialization functions:

Functions

ErrorStatus LL_GPIO_DeInit (GPIO_TypeDef *GPIOx)
 De-initialize GPIO registers (Registers restored to their default values). More...
 
ErrorStatus LL_GPIO_Init (GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct)
 Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. More...
 
void LL_GPIO_StructInit (LL_GPIO_InitTypeDef *GPIO_InitStruct)
 Set each LL_GPIO_InitTypeDef field to default value. More...
 

Detailed Description

Function Documentation

◆ LL_GPIO_DeInit()

ErrorStatus LL_GPIO_DeInit ( GPIO_TypeDef *  GPIOx)

De-initialize GPIO registers (Registers restored to their default values).

Parameters
GPIOxGPIO Port
Return values
AnErrorStatus enumeration value:
  • SUCCESS: GPIO registers are de-initialized
  • ERROR: Wrong GPIO Port

Definition at line 103 of file stm32f4xx_ll_gpio.c.

◆ LL_GPIO_Init()

ErrorStatus LL_GPIO_Init ( GPIO_TypeDef *  GPIOx,
LL_GPIO_InitTypeDef GPIO_InitStruct 
)

Initialize GPIO registers according to the specified parameters in GPIO_InitStruct.

Parameters
GPIOxGPIO Port
GPIO_InitStructpointer to a LL_GPIO_InitTypeDef structure that contains the configuration information for the specified GPIO peripheral.
Return values
AnErrorStatus enumeration value:
  • SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content
  • ERROR: Not applicable

Definition at line 199 of file stm32f4xx_ll_gpio.c.

◆ LL_GPIO_StructInit()

void LL_GPIO_StructInit ( LL_GPIO_InitTypeDef GPIO_InitStruct)

Set each LL_GPIO_InitTypeDef field to default value.

Parameters
GPIO_InitStructpointer to a LL_GPIO_InitTypeDef structure whose fields will be set to default values.
Return values
None

Definition at line 273 of file stm32f4xx_ll_gpio.c.