Analysis of Less Common Library Functions for STM32 GPIO

1. void GPIO_DeInit(GPIO_TypeDef* GPIOx); First, let’s take a look at this function. We can see that the parameter of this function is a GPIO group parameter (GPIOB, GPIOC, GPIOA, etc.),Now, let’s enter the definition of this function in the standard peripheral library. void GPIO_DeInit(GPIO_TypeDef* GPIOx){ /* Check the parameters */ assert_param(IS_GPIO_ALL_PERIPH(GPIOx)); if (GPIOx == GPIOA) … Read more