General-purpose I/Os (GPIO)
ï‚· GPIO_PinAFConfig()
12.2.5 Initialization and Configuration
12.2.5.1 GPIO_DeInit
void GPIO_DeInit ( GPIO_TypeDef * GPIOx)
Deinitializes the GPIOx peripheral registers to their default reset
values.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
12.2.5.2 GPIO_Init
void GPIO_Init ( GPIO_TypeDef * GPIOx, GPIO_InitTypeDef *
GPIO_InitStruct)
Initializes the GPIOx peripheral according to the specified
parameters in the GPIO_InitStruct.
ï‚· 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.
ï‚· 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
void GPIO_StructInit ( GPIO_InitTypeDef * GPIO_InitStruct)