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 de-initialization functions
[GPIO Exported Functions]
Functions | |
ErrorStatus | LL_GPIO_DeInit (GPIO_TypeDef *GPIOx) |
De-initialize GPIO registers (Registers restored to their default values). | |
ErrorStatus | LL_GPIO_Init (GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) |
Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. | |
void | LL_GPIO_StructInit (LL_GPIO_InitTypeDef *GPIO_InitStruct) |
Set each LL_GPIO_InitTypeDef field to default value. |
Function Documentation
ErrorStatus LL_GPIO_DeInit | ( | GPIO_TypeDef * | GPIOx ) |
De-initialize GPIO registers (Registers restored to their default values).
- Parameters:
-
GPIOx GPIO Port
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: GPIO registers are de-initialized
- ERROR: Wrong GPIO Port
Definition at line 122 of file stm32l4xx_ll_gpio.c.
ErrorStatus LL_GPIO_Init | ( | GPIO_TypeDef * | GPIOx, |
LL_GPIO_InitTypeDef * | GPIO_InitStruct | ||
) |
Initialize GPIO registers according to the specified parameters in GPIO_InitStruct.
- Parameters:
-
GPIOx GPIO Port GPIO_InitStruct,: pointer to a LL_GPIO_InitTypeDef structure that contains the configuration information for the specified GPIO peripheral.
- Return values:
-
An ErrorStatus enumeration value: - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content
- ERROR: Not applicable
Definition at line 204 of file stm32l4xx_ll_gpio.c.
void LL_GPIO_StructInit | ( | LL_GPIO_InitTypeDef * | GPIO_InitStruct ) |
Set each LL_GPIO_InitTypeDef field to default value.
- Parameters:
-
GPIO_InitStruct,: pointer to a LL_GPIO_InitTypeDef structure whose fields will be set to default values.
- Return values:
-
None
Definition at line 280 of file stm32l4xx_ll_gpio.c.
Generated on Tue Jul 12 2022 18:10:48 by
