Macros
GPIO Exported Macros
Peripheral Driver » HAL Driver » GPIO » Defines

## Macros
#define | __HAL_GPIO_IT_GET_IT(__GPIOX__, __GPIO_PIN__) ll_gpio_read_flag_it(__GPIOX__, __GPIO_PIN__)
| Check whether the specified GPIO pin is asserted or not. More...
#define | __HAL_GPIO_IT_CLEAR_IT(__GPIOX__, __GPIO_PIN__) ll_gpio_clear_flag_it(__GPIOX__, __GPIO_PIN__)
| Clear the GPIO pin pending bits. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_GPIO_IT_CLEAR_IT

#define __HAL_GPIO_IT_CLEAR_IT | ( |  | __GPIOX__,
|  |  | __GPIO_PIN__
| ) |  | ll_gpio_clear_flag_it(__GPIOX__, __GPIO_PIN__)

Clear the GPIO pin pending bits.

Parameters

  <strong>GPIOX</strong> | Where X can be (0, 1) to select the GPIO peripheral port
  <strong>GPIO_PIN</strong> | Specifies the GPIO pins to clear. This parameter can be any combination of GPIO_PIN_x where x can be (0..15)

Return values

  None |

## ◆ __HAL_GPIO_IT_GET_IT

#define __HAL_GPIO_IT_GET_IT | ( |  | __GPIOX__,
|  |  | __GPIO_PIN__
| ) |  | ll_gpio_read_flag_it(__GPIOX__, __GPIO_PIN__)

Check whether the specified GPIO pin is asserted or not.

Parameters

  <strong>GPIOX</strong> | Where X can be (0, 1) to select the GPIO peripheral port
  <strong>GPIO_PIN</strong> | Specifies the GPIO pin to check. This parameter can be GPIO_PIN_x where x can be (0..15)

Return values

  The | new state of GPIO_PIN (SET or RESET).