/* Deinitializes the GPIOx peripheral registers to their default reset values.  */
void GPIO_DeInit(GPIO_TypeDef *GPIOx)
/* Deinitializes the GPIOx peripheral registers to their default reset values.  */
void GPIO_DeInit(GPIO_TypeDef *GPIOx)
{
  GPIOx->CR2 = GPIO_CR2_RESET_VALUE;
  GPIOx->ODR = GPIO_ODR_RESET_VALUE;
  GPIOx->DDR = GPIO_DDR_RESET_VALUE;
  GPIOx->CR1 = GPIO_CR1_RESET_VALUE;
}