Macros
GPIO pins
Peripheral Driver » HAL Driver » GPIO » Defines » GPIO Exported Constants
Collaboration diagram for GPIO pins:

## Macros
#define | GPIO_PIN_0 ((uint16_t)0x0001U)
| Pin 0 selected More...
#define | GPIO_PIN_1 ((uint16_t)0x0002U)
| Pin 1 selected More...
#define | GPIO_PIN_2 ((uint16_t)0x0004U)
| Pin 2 selected More...
#define | GPIO_PIN_3 ((uint16_t)0x0008U)
| Pin 3 selected More...
#define | GPIO_PIN_4 ((uint16_t)0x0010U)
| Pin 4 selected More...
#define | GPIO_PIN_5 ((uint16_t)0x0020U)
| Pin 5 selected More...
#define | GPIO_PIN_6 ((uint16_t)0x0040U)
| Pin 6 selected More...
#define | GPIO_PIN_7 ((uint16_t)0x0080U)
| Pin 7 selected More...
#define | GPIO_PIN_8 ((uint16_t)0x0100U)
| Pin 8 selected More...
#define | GPIO_PIN_9 ((uint16_t)0x0200U)
| Pin 9 selected More...
#define | GPIO_PIN_10 ((uint16_t)0x0400U)
| Pin 10 selected More...
#define | GPIO_PIN_11 ((uint16_t)0x0800U)
| Pin 11 selected More...
#define | GPIO_PIN_12 ((uint16_t)0x1000U)
| Pin 12 selected More...
#define | GPIO_PIN_13 ((uint16_t)0x2000U)
| Pin 13 selected More...
#define | GPIO_PIN_14 ((uint16_t)0x4000U)
| Pin 14 selected More...
#define | GPIO_PIN_15 ((uint16_t)0x8000U)
| Pin 15 selected More...
#define | GPIO_PIN_ALL ((uint16_t)0xFFFFU)
| All pins selected. More...
#define | GPIO_PIN_MASK (0x0000FFFFU)
| PIN mask for assert test. More...

## Detailed Description

## Macro Definition Documentation

## ◆ GPIO_PIN_0

#define GPIO_PIN_0 ((uint16_t)0x0001U)

Pin 0 selected

Definition at line 138 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_1

#define GPIO_PIN_1 ((uint16_t)0x0002U)

Pin 1 selected

Definition at line 139 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_10

#define GPIO_PIN_10 ((uint16_t)0x0400U)

Pin 10 selected

Definition at line 148 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_11

#define GPIO_PIN_11 ((uint16_t)0x0800U)

Pin 11 selected

Definition at line 149 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_12

#define GPIO_PIN_12 ((uint16_t)0x1000U)

Pin 12 selected

Definition at line 150 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_13

#define GPIO_PIN_13 ((uint16_t)0x2000U)

Pin 13 selected

Definition at line 151 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_14

#define GPIO_PIN_14 ((uint16_t)0x4000U)

Pin 14 selected

Definition at line 152 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_15

#define GPIO_PIN_15 ((uint16_t)0x8000U)

Pin 15 selected

Definition at line 153 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_2

#define GPIO_PIN_2 ((uint16_t)0x0004U)

Pin 2 selected

Definition at line 140 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_3

#define GPIO_PIN_3 ((uint16_t)0x0008U)

Pin 3 selected

Definition at line 141 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_4

#define GPIO_PIN_4 ((uint16_t)0x0010U)

Pin 4 selected

Definition at line 142 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_5

#define GPIO_PIN_5 ((uint16_t)0x0020U)

Pin 5 selected

Definition at line 143 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_6

#define GPIO_PIN_6 ((uint16_t)0x0040U)

Pin 6 selected

Definition at line 144 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_7

#define GPIO_PIN_7 ((uint16_t)0x0080U)

Pin 7 selected

Definition at line 145 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_8

#define GPIO_PIN_8 ((uint16_t)0x0100U)

Pin 8 selected

Definition at line 146 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_9

#define GPIO_PIN_9 ((uint16_t)0x0200U)

Pin 9 selected

Definition at line 147 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_ALL

#define GPIO_PIN_ALL ((uint16_t)0xFFFFU)

All pins selected.

Definition at line 154 of file gr55xx_hal_gpio.h.

## ◆ GPIO_PIN_MASK

#define GPIO_PIN_MASK (0x0000FFFFU)

PIN mask for assert test.

Definition at line 156 of file gr55xx_hal_gpio.h.