EasyManuals Logo

ST STM32F31xx User Manual

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
Page #237 background imageLoading...
Page #237 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F31xx and is the answer not in the manual?

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals