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

Macros

#define GPIO_CNF_FLOAT   0x00
 
#define GPIO_CNF_PULLDOWN   0x01
 
#define GPIO_CNF_PULLUP   0x02
 
#define GPIO_CNF_AF   0x03
 

Detailed Description

Macro Definition Documentation

◆ GPIO_CNF_AF

#define GPIO_CNF_AF   0x03

Definition at line 240 of file port.h.

◆ GPIO_CNF_FLOAT

#define GPIO_CNF_FLOAT   0x00

Definition at line 237 of file port.h.

◆ GPIO_CNF_PULLDOWN

#define GPIO_CNF_PULLDOWN   0x01

Definition at line 238 of file port.h.

◆ GPIO_CNF_PULLUP

#define GPIO_CNF_PULLUP   0x02

Definition at line 239 of file port.h.