思澈科技软件开发工具包  2.20
Initialization/de-initialization functions

Initialization and Configuration functions. More...

Functions

void HAL_GPIO_Init (GPIO_TypeDef *hgpio, GPIO_InitTypeDef *GPIO_Init)
 Initialize the GPIO peripheral according to the specified parameters in the GPIO_Init. More...
 
void HAL_GPIO_DeInit (GPIO_TypeDef *hgpio, uint32_t GPIO_Pin)
 De-initialize the GPIOx peripheral registers to their default reset values. More...
 

Detailed Description

Initialization and Configuration functions.

Function Documentation

◆ HAL_GPIO_DeInit()

void HAL_GPIO_DeInit ( GPIO_TypeDef hgpio,
uint32_t  GPIO_Pin 
)

De-initialize the GPIOx peripheral registers to their default reset values.

Parameters
hgpioGPIO handle
GPIO_Pinspecifies the pin index to be written, starting from 0.
Return values
None

◆ HAL_GPIO_Init()

void HAL_GPIO_Init ( GPIO_TypeDef hgpio,
GPIO_InitTypeDef GPIO_Init 
)

Initialize the GPIO peripheral according to the specified parameters in the GPIO_Init.

Parameters
hgpioGPIO handle
GPIO_Initpointer to a GPIO_InitTypeDef structure that contains the configuration information for the specified GPIO peripheral.
Return values
None