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

Macros

#define GPIO_CNF_SENSE_DISABLE   0
 Pin sensing is disabled. More...
 
#define GPIO_CNF_SENSE_HIGH   2
 Pin sensing is active for high level. More...
 
#define GPIO_CNF_SENSE_LOW   3
 Pin sensing is active for low level. More...
 

Detailed Description

Macro Definition Documentation

◆ GPIO_CNF_SENSE_DISABLE

#define GPIO_CNF_SENSE_DISABLE   0

Pin sensing is disabled.

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

◆ GPIO_CNF_SENSE_HIGH

#define GPIO_CNF_SENSE_HIGH   2

Pin sensing is active for high level.

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

◆ GPIO_CNF_SENSE_LOW

#define GPIO_CNF_SENSE_LOW   3

Pin sensing is active for low level.

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