EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LL GPIO Generic Driver
UM1940
942/1371
DocID028236 Rev 2
Reference Manual to
LL API cross
reference:
ODR ODy LL_GPIO_TogglePin
LL_GPIO_DeInit
Function name
ErrorStatus LL_GPIO_DeInit (GPIO_TypeDef * GPIOx)
Function description
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
LL_GPIO_Init
Function name
ErrorStatus LL_GPIO_Init (GPIO_TypeDef * GPIOx,
LL_GPIO_InitTypeDef * GPIO_InitStruct)
Function description
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
LL_GPIO_StructInit
Function name
void LL_GPIO_StructInit (LL_GPIO_InitTypeDef *
GPIO_InitStruct)
Function description
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:
57.3 GPIO Firmware driver defines
57.3.1 GPIO
Alternate Function
LL_GPIO_AF_0
Select alternate function 0
LL_GPIO_AF_1
Select alternate function 1
LL_GPIO_AF_2
Select alternate function 2

Table of Contents

Related product manuals