Macros
GPIOEx_Get Port Index
Peripheral Driver » HAL Driver » GPIOEx » Defines » GPIOEx Exported Macros

## Macros
#define | GPIO_GET_INDEX(__GPIOx__) (((__GPIOx__) == (GPIO0))? 0U : 1U)
| Get GPIO Port Index. More...

## Detailed Description

## Macro Definition Documentation

## ◆ GPIO_GET_INDEX

#define GPIO_GET_INDEX | ( |  | __GPIOx__ | ) | (((__GPIOx__) == (GPIO0))? 0U : 1U)

Get GPIO Port Index.

Parameters

  __GPIOx__ | GPIO instance.

Return values

  Port | Index.

Definition at line 462 of file gr55xx_hal_gpio_ex.h.