STM32F4xx_HAL_Driver  1.8.3
Initialization and de-initialization functions

Initialization and Configuration functions. More...

+ Collaboration diagram for Initialization and de-initialization functions:

Functions

void HAL_GPIO_Init (GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
 Initializes the GPIOx peripheral according to the specified parameters in the GPIO_Init. More...
 
void HAL_GPIO_DeInit (GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
 De-initializes the GPIOx peripheral registers to their default reset values. More...
 

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
              ##### Initialization and de-initialization functions #####
 ===============================================================================
  [..]
    This section provides functions allowing to initialize and de-initialize the GPIOs
    to be ready for use.


Function Documentation

◆ HAL_GPIO_DeInit()

void HAL_GPIO_DeInit ( GPIO_TypeDef *  GPIOx,
uint32_t  GPIO_Pin 
)

De-initializes the GPIOx peripheral registers to their default reset values.

Parameters
GPIOxwhere x can be (A..K) to select the GPIO peripheral for STM32F429X device or x can be (A..I) to select the GPIO peripheral for STM32F40XX and STM32F427X devices.
GPIO_Pinspecifies the port bit to be written. This parameter can be one of GPIO_PIN_x where x can be (0..15).
Return values
None

Definition at line 294 of file stm32f4xx_hal_gpio.c.

◆ HAL_GPIO_Init()

void HAL_GPIO_Init ( GPIO_TypeDef *  GPIOx,
GPIO_InitTypeDef *  GPIO_Init 
)

Initializes the GPIOx peripheral according to the specified parameters in the GPIO_Init.

Parameters
GPIOxwhere x can be (A..K) to select the GPIO peripheral for STM32F429X device or x can be (A..I) to select the GPIO peripheral for STM32F40XX and STM32F427X devices.
GPIO_Initpointer to a GPIO_InitTypeDef structure that contains the configuration information for the specified GPIO peripheral.
Return values
None

Definition at line 164 of file stm32f4xx_hal_gpio.c.