libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
GPIO Pin Identifiers

GPIO number definitions (for convenience) More...

Collaboration diagram for GPIO Pin Identifiers:

Macros

#define GPIO_MAX_PIN   (7U)
 
#define GPIO0   BIT0
 
#define GPIO1   BIT1
 
#define GPIO2   BIT2
 
#define GPIO3   BIT3
 
#define GPIO4   BIT4
 
#define GPIO5   BIT5
 
#define GPIO6   BIT6
 
#define GPIO7   BIT7
 
#define GPIO_ALL   0xff
 

Detailed Description

GPIO number definitions (for convenience)

Macro Definition Documentation

◆ GPIO0

#define GPIO0   BIT0

Definition at line 56 of file gpio.h.

◆ GPIO1

#define GPIO1   BIT1

Definition at line 57 of file gpio.h.

◆ GPIO2

#define GPIO2   BIT2

Definition at line 58 of file gpio.h.

◆ GPIO3

#define GPIO3   BIT3

Definition at line 59 of file gpio.h.

◆ GPIO4

#define GPIO4   BIT4

Definition at line 60 of file gpio.h.

◆ GPIO5

#define GPIO5   BIT5

Definition at line 61 of file gpio.h.

◆ GPIO6

#define GPIO6   BIT6

Definition at line 62 of file gpio.h.

◆ GPIO7

#define GPIO7   BIT7

Definition at line 63 of file gpio.h.

◆ GPIO_ALL

#define GPIO_ALL   0xff

Definition at line 64 of file gpio.h.

◆ GPIO_MAX_PIN

#define GPIO_MAX_PIN   (7U)

Definition at line 55 of file gpio.h.