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

Macros

#define GPIO0   (1 << 0)
 
#define GPIO1   (1 << 1)
 
#define GPIO2   (1 << 2)
 
#define GPIO3   (1 << 3)
 
#define GPIO4   (1 << 4)
 
#define GPIO5   (1 << 5)
 
#define GPIO6   (1 << 6)
 
#define GPIO7   (1 << 7)
 
#define GPIO8   (1 << 8)
 
#define GPIO9   (1 << 9)
 
#define GPIO_ALL   0x3ff
 

Detailed Description

Macro Definition Documentation

◆ GPIO0

#define GPIO0   (1 << 0)

Definition at line 37 of file gpio.h.

◆ GPIO1

#define GPIO1   (1 << 1)

Definition at line 38 of file gpio.h.

◆ GPIO2

#define GPIO2   (1 << 2)

Definition at line 39 of file gpio.h.

◆ GPIO3

#define GPIO3   (1 << 3)

Definition at line 40 of file gpio.h.

◆ GPIO4

#define GPIO4   (1 << 4)

Definition at line 41 of file gpio.h.

◆ GPIO5

#define GPIO5   (1 << 5)

Definition at line 42 of file gpio.h.

◆ GPIO6

#define GPIO6   (1 << 6)

Definition at line 43 of file gpio.h.

◆ GPIO7

#define GPIO7   (1 << 7)

Definition at line 44 of file gpio.h.

◆ GPIO8

#define GPIO8   (1 << 8)

Definition at line 45 of file gpio.h.

◆ GPIO9

#define GPIO9   (1 << 9)

Definition at line 46 of file gpio.h.

◆ GPIO_ALL

#define GPIO_ALL   0x3ff

Definition at line 47 of file gpio.h.