[HAL][GPIO] Replace GPIO_Pin_x with GPIO_PIN_x to be compliant with macros definition
diff --git a/Src/stm32g0xx_hal_gpio.c b/Src/stm32g0xx_hal_gpio.c index 4b4cc8a..d36a63f 100644 --- a/Src/stm32g0xx_hal_gpio.c +++ b/Src/stm32g0xx_hal_gpio.c
@@ -283,7 +283,7 @@ * @brief De-initialize the GPIOx peripheral registers to their default reset values. * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32G0xx family * @param GPIO_Pin specifies the port bit to be written. - * This parameter can be any combination of GPIO_Pin_x where x can be (0..15). + * This parameter can be any combination of GPIO_PIN_x where x can be (0..15). * @retval None */ void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin) @@ -364,7 +364,7 @@ * @brief Read the specified input port pin. * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32G0xx family * @param GPIO_Pin specifies the port bit to read. - * This parameter can be any combination of GPIO_Pin_x where x can be (0..15). + * This parameter can be any combination of GPIO_PIN_x where x can be (0..15). * @retval The input port pin value. */ GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) @@ -394,7 +394,7 @@ * * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32G0xx family * @param GPIO_Pin specifies the port bit to be written. - * This parameter can be any combination of GPIO_Pin_x where x can be (0..15). + * This parameter can be any combination of GPIO_PIN_x where x can be (0..15). * @param PinState specifies the value to be written to the selected bit. * This parameter can be one of the GPIO_PinState enum values: * @arg GPIO_PIN_RESET: to clear the port pin @@ -421,7 +421,7 @@ * @brief Toggle the specified GPIO pin. * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32G0xx family * @param GPIO_Pin specifies the pin to be toggled. - * This parameter can be any combination of GPIO_Pin_x where x can be (0..15). + * This parameter can be any combination of GPIO_PIN_x where x can be (0..15). * @retval None */ void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) @@ -446,7 +446,7 @@ * until the next reset. * @param GPIOx where x can be (A..F) to select the GPIO peripheral for STM32G0xx family * @param GPIO_Pin specifies the port bits to be locked. - * This parameter can be any combination of GPIO_Pin_x where x can be (0..15). + * This parameter can be any combination of GPIO_PIN_x where x can be (0..15). * @retval None */ HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)