|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
7#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_GPIO_H_
8#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_GPIO_H_
18#define GPIO_DT_FLAGS_MASK 0x3F
26#define GPIO_ACTIVE_LOW (1 << 0)
28#define GPIO_ACTIVE_HIGH (0 << 0)
40#define GPIO_SINGLE_ENDED (1 << 1)
42#define GPIO_PUSH_PULL (0 << 1)
45#define GPIO_LINE_OPEN_DRAIN (1 << 2)
47#define GPIO_LINE_OPEN_SOURCE (0 << 2)
57#define GPIO_OPEN_DRAIN (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN)
65#define GPIO_OPEN_SOURCE (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_SOURCE)
75#define GPIO_PULL_UP (1 << 4)
78#define GPIO_PULL_DOWN (1 << 5)
85#define GPIO_INT_WAKEUP (1 << 6)