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

Macros

#define GPIO_MODE_INPUT   0
 
#define GPIO_MODE_OUTPUT   1
 
#define GPIO_MODE_ANALOG   2
 

Detailed Description

Macro Definition Documentation

◆ GPIO_MODE_ANALOG

#define GPIO_MODE_ANALOG   2

Definition at line 66 of file common/gpio.h.

◆ GPIO_MODE_INPUT

#define GPIO_MODE_INPUT   0

Definition at line 64 of file common/gpio.h.

◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT   1

Definition at line 65 of file common/gpio.h.