Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Initialization and deinitialization functions
[GPIO Exported Functions]
Initialization and Configuration functions. More...
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. | |
| void | HAL_GPIO_DeInit (GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin) |
| De-initializes the GPIOx peripheral registers to their default reset values. | |
Detailed Description
Initialization and Configuration functions.
===============================================================================
##### Initialization and deinitialization functions #####
===============================================================================
[..]
This section provides functions allowing to initialize and de-initialize the GPIOs
to be ready for use.
Function Documentation
| void HAL_GPIO_DeInit | ( | GPIO_TypeDef * | GPIOx, |
| uint32_t | GPIO_Pin | ||
| ) |
De-initializes the GPIOx peripheral registers to their default reset values.
- Parameters:
-
GPIOx,: where x can be (A..G depending on device used) to select the GPIO peripheral GPIO_Pin,: specifies 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 367 of file stm32f1xx_hal_gpio.c.
| 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:
-
GPIOx,: where x can be (A..G depending on device used) to select the GPIO peripheral GPIO_Init,: pointer to a GPIO_InitTypeDef structure that contains the configuration information for the specified GPIO peripheral.
- Return values:
-
None
Definition at line 196 of file stm32f1xx_hal_gpio.c.
Generated on Tue Jul 12 2022 15:37:32 by
1.7.2