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

Macros

#define GPIO_MODE_INPUT   0x00
 
#define GPIO_MODE_OUTPUT   0x01
 
#define GPIO_MODE_INOUT   0x02
 

Detailed Description

Macro Definition Documentation

◆ GPIO_MODE_INOUT

#define GPIO_MODE_INOUT   0x02

Definition at line 228 of file port.h.

◆ GPIO_MODE_INPUT

#define GPIO_MODE_INPUT   0x00

Definition at line 226 of file port.h.

◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT   0x01

Definition at line 227 of file port.h.