Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
#define | GPIO_DT_FLAGS_MASK 0x3F |
Mask for DT GPIO flags. | |
#define | GPIO_INT_WAKEUP (1 << 6) |
Configures GPIO interrupt to wakeup the system from low power mode. | |
GPIO pin active level flags | |
#define | GPIO_ACTIVE_LOW (1 << 0) |
GPIO pin is active (has logical value '1') in low state. | |
#define | GPIO_ACTIVE_HIGH (0 << 0) |
GPIO pin is active (has logical value '1') in high state. | |
GPIO pin drive flags | |
#define | GPIO_OPEN_DRAIN (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_DRAIN) |
Configures GPIO output in open drain mode (wired AND). | |
#define | GPIO_OPEN_SOURCE (GPIO_SINGLE_ENDED | GPIO_LINE_OPEN_SOURCE) |
Configures GPIO output in open source mode (wired OR). | |
GPIO pin bias flags | |
#define | GPIO_PULL_UP (1 << 4) |
Enables GPIO pin pull-up. | |
#define | GPIO_PULL_DOWN (1 << 5) |
Enable GPIO pin pull-down. | |