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 GPIO10   (1 << 10)
 
#define GPIO11   (1 << 11)
 
#define GPIO12   (1 << 12)
 
#define GPIO13   (1 << 13)
 
#define GPIO14   (1 << 14)
 
#define GPIO15   (1 << 15)
 
#define GPIO16   (1 << 16)
 
#define GPIO17   (1 << 17)
 
#define GPIO18   (1 << 18)
 
#define GPIO19   (1 << 19)
 
#define GPIO20   (1 << 20)
 
#define GPIO21   (1 << 21)
 
#define GPIO22   (1 << 22)
 
#define GPIO23   (1 << 23)
 
#define GPIO24   (1 << 24)
 
#define GPIO25   (1 << 25)
 
#define GPIO26   (1 << 26)
 
#define GPIO27   (1 << 27)
 
#define GPIO28   (1 << 28)
 
#define GPIO29   (1 << 29)
 
#define GPIO30   (1 << 30)
 
#define GPIO31   (1 << 31)
 
#define GPIO_ALL   0xffff
 

Detailed Description

Macro Definition Documentation

◆ GPIO0

#define GPIO0   (1 << 0)

Definition at line 31 of file port.h.

◆ GPIO1

#define GPIO1   (1 << 1)

Definition at line 32 of file port.h.

◆ GPIO10

#define GPIO10   (1 << 10)

Definition at line 41 of file port.h.

◆ GPIO11

#define GPIO11   (1 << 11)

Definition at line 42 of file port.h.

◆ GPIO12

#define GPIO12   (1 << 12)

Definition at line 43 of file port.h.

◆ GPIO13

#define GPIO13   (1 << 13)

Definition at line 44 of file port.h.

◆ GPIO14

#define GPIO14   (1 << 14)

Definition at line 45 of file port.h.

◆ GPIO15

#define GPIO15   (1 << 15)

Definition at line 46 of file port.h.

◆ GPIO16

#define GPIO16   (1 << 16)

Definition at line 47 of file port.h.

◆ GPIO17

#define GPIO17   (1 << 17)

Definition at line 48 of file port.h.

◆ GPIO18

#define GPIO18   (1 << 18)

Definition at line 49 of file port.h.

◆ GPIO19

#define GPIO19   (1 << 19)

Definition at line 50 of file port.h.

◆ GPIO2

#define GPIO2   (1 << 2)

Definition at line 33 of file port.h.

◆ GPIO20

#define GPIO20   (1 << 20)

Definition at line 51 of file port.h.

◆ GPIO21

#define GPIO21   (1 << 21)

Definition at line 52 of file port.h.

◆ GPIO22

#define GPIO22   (1 << 22)

Definition at line 53 of file port.h.

◆ GPIO23

#define GPIO23   (1 << 23)

Definition at line 54 of file port.h.

◆ GPIO24

#define GPIO24   (1 << 24)

Definition at line 55 of file port.h.

◆ GPIO25

#define GPIO25   (1 << 25)

Definition at line 56 of file port.h.

◆ GPIO26

#define GPIO26   (1 << 26)

Definition at line 57 of file port.h.

◆ GPIO27

#define GPIO27   (1 << 27)

Definition at line 58 of file port.h.

◆ GPIO28

#define GPIO28   (1 << 28)

Definition at line 59 of file port.h.

◆ GPIO29

#define GPIO29   (1 << 29)

Definition at line 60 of file port.h.

◆ GPIO3

#define GPIO3   (1 << 3)

Definition at line 34 of file port.h.

◆ GPIO30

#define GPIO30   (1 << 30)

Definition at line 61 of file port.h.

◆ GPIO31

#define GPIO31   (1 << 31)

Definition at line 62 of file port.h.

◆ GPIO4

#define GPIO4   (1 << 4)

Definition at line 35 of file port.h.

◆ GPIO5

#define GPIO5   (1 << 5)

Definition at line 36 of file port.h.

◆ GPIO6

#define GPIO6   (1 << 6)

Definition at line 37 of file port.h.

◆ GPIO7

#define GPIO7   (1 << 7)

Definition at line 38 of file port.h.

◆ GPIO8

#define GPIO8   (1 << 8)

Definition at line 39 of file port.h.

◆ GPIO9

#define GPIO9   (1 << 9)

Definition at line 40 of file port.h.

◆ GPIO_ALL

#define GPIO_ALL   0xffff

Definition at line 63 of file port.h.