EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 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...
UM1581
General-purpose I/Os (GPIO)
DocID023800 Rev 1
237/584
GPIO_PinAFConfig()
12.2.5 Initialization and Configuration
12.2.5.1 GPIO_DeInit
Function Name
void GPIO_DeInit ( GPIO_TypeDef * GPIOx)
Function Description
Deinitializes the GPIOx peripheral registers to their default reset
values.
Parameters
GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
Return values
None.
Notes
None.
12.2.5.2 GPIO_Init
Function Name
void GPIO_Init ( GPIO_TypeDef * GPIOx, GPIO_InitTypeDef *
GPIO_InitStruct)
Function Description
Initializes the GPIOx peripheral according to the specified
parameters in the GPIO_InitStruct.
Parameters
GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
GPIO_InitStruct : pointer to a GPIO_InitTypeDef structure
that contains the configuration information for the specified
GPIO peripheral.
Return values
None.
Notes
GPIO_Pin: selects the pin to be configured: GPIO_Pin_0-
>GPIO_Pin_15 for GPIOA, GPIOB, GPIOC, GPIOD and
GPIOE; GPIO_Pin_0->GPIO_Pin_2, GPIO_Pin_4,
GPIO_Pin_6, GPIO_Pin_9 and GPIO_Pin_10 for GPIOF.
12.2.5.3 GPIO_StructInit
Function Name
void GPIO_StructInit ( GPIO_InitTypeDef * GPIO_InitStruct)

Table of Contents

Related product manuals