Zephyr Project API  3.3.0
A Scalable Open Source RTOS
gpio.h File Reference

Go to the source code of this file.

Macros

GPIO pin active level flags
#define GPIO_ACTIVE_LOW   (1 << 0)
 
#define GPIO_ACTIVE_HIGH   (0 << 0)
 
GPIO pin drive flags
#define GPIO_OPEN_DRAIN   (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN)
 
#define GPIO_OPEN_SOURCE   (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_SOURCE)
 
GPIO pin bias flags
#define GPIO_PULL_UP   (1 << 4)
 
#define GPIO_PULL_DOWN   (1 << 5)