Kaynağa Gözat

[HAL][GPIO] Replace GPIO_Pin_x with GPIO_PIN_x to be compliant with macros definition

Rania JMAI 1 yıl önce
ebeveyn
işleme
97cc749fa5
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      Inc/stm32l4xx_hal_gpio.h

+ 3 - 3
Inc/stm32l4xx_hal_gpio.h

@@ -164,7 +164,7 @@ typedef enum
 /**
 /**
   * @brief  Check whether the specified EXTI line flag is set or not.
   * @brief  Check whether the specified EXTI line flag is set or not.
   * @param  __EXTI_LINE__ specifies the EXTI line flag to check.
   * @param  __EXTI_LINE__ specifies the EXTI line flag to check.
-  *         This parameter can be GPIO_PIN_x where x can be (0..15)
+  *         This parameter can be GPIO_PIN_x where x can be(0..15)
   * @retval The new state of __EXTI_LINE__ (SET or RESET).
   * @retval The new state of __EXTI_LINE__ (SET or RESET).
   */
   */
 #define __HAL_GPIO_EXTI_GET_FLAG(__EXTI_LINE__)       (EXTI->PR1 & (__EXTI_LINE__))
 #define __HAL_GPIO_EXTI_GET_FLAG(__EXTI_LINE__)       (EXTI->PR1 & (__EXTI_LINE__))
@@ -180,7 +180,7 @@ typedef enum
 /**
 /**
   * @brief  Check whether the specified EXTI line is asserted or not.
   * @brief  Check whether the specified EXTI line is asserted or not.
   * @param  __EXTI_LINE__ specifies the EXTI line to check.
   * @param  __EXTI_LINE__ specifies the EXTI line to check.
-  *          This parameter can be GPIO_PIN_x where x can be (0..15)
+  *          This parameter can be GPIO_PIN_x where x can be(0..15)
   * @retval The new state of __EXTI_LINE__ (SET or RESET).
   * @retval The new state of __EXTI_LINE__ (SET or RESET).
   */
   */
 #define __HAL_GPIO_EXTI_GET_IT(__EXTI_LINE__)         (EXTI->PR1 & (__EXTI_LINE__))
 #define __HAL_GPIO_EXTI_GET_IT(__EXTI_LINE__)         (EXTI->PR1 & (__EXTI_LINE__))
@@ -196,7 +196,7 @@ typedef enum
 /**
 /**
   * @brief  Generate a Software interrupt on selected EXTI line.
   * @brief  Generate a Software interrupt on selected EXTI line.
   * @param  __EXTI_LINE__ specifies the EXTI line to check.
   * @param  __EXTI_LINE__ specifies the EXTI line to check.
-  *          This parameter can be GPIO_PIN_x where x can be (0..15)
+  *          This parameter can be GPIO_PIN_x where x can be(0..15)
   * @retval None
   * @retval None
   */
   */
 #define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__)  (EXTI->SWIER1 |= (__EXTI_LINE__))
 #define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__)  (EXTI->SWIER1 |= (__EXTI_LINE__))