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

Macros

#define GPIO_CNF_DRIVE_S0S1   0
 Standard 0, standard 1. More...
 
#define GPIO_CNF_DRIVE_H0S1   1
 High drive 0, standard 1. More...
 
#define GPIO_CNF_DRIVE_S0H1   2
 Standard 0, high drive 1. More...
 
#define GPIO_CNF_DRIVE_H0H1   3
 High drive 0, high drive 1. More...
 
#define GPIO_CNF_DRIVE_D0S1   4
 Disconnect 0, standard 1 (wired-or connections) More...
 
#define GPIO_CNF_DRIVE_D0H1   5
 Disconnect 0, high drive 1 (wired-or connections) More...
 
#define GPIO_CNF_DRIVE_S0D1   6
 Standard 0, disconnect 1 (wired-and connections) More...
 
#define GPIO_CNF_DRIVE_H0D1   7
 High drive 0, disconnect 1 (wired-and connections) More...
 

Detailed Description

Macro Definition Documentation

◆ GPIO_CNF_DRIVE_D0H1

#define GPIO_CNF_DRIVE_D0H1   5

Disconnect 0, high drive 1 (wired-or connections)

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

◆ GPIO_CNF_DRIVE_D0S1

#define GPIO_CNF_DRIVE_D0S1   4

Disconnect 0, standard 1 (wired-or connections)

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

◆ GPIO_CNF_DRIVE_H0D1

#define GPIO_CNF_DRIVE_H0D1   7

High drive 0, disconnect 1 (wired-and connections)

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

◆ GPIO_CNF_DRIVE_H0H1

#define GPIO_CNF_DRIVE_H0H1   3

High drive 0, high drive 1.

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

◆ GPIO_CNF_DRIVE_H0S1

#define GPIO_CNF_DRIVE_H0S1   1

High drive 0, standard 1.

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

◆ GPIO_CNF_DRIVE_S0D1

#define GPIO_CNF_DRIVE_S0D1   6

Standard 0, disconnect 1 (wired-and connections)

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

◆ GPIO_CNF_DRIVE_S0H1

#define GPIO_CNF_DRIVE_S0H1   2

Standard 0, high drive 1.

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

◆ GPIO_CNF_DRIVE_S0S1

#define GPIO_CNF_DRIVE_S0S1   0

Standard 0, standard 1.

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