Zephyr API Documentation
4.4.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
espressif-esp32-gpio.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Vestas Wind Systems A/S
3
* Copyright (c) 2026 Espressif Systems (Shanghai) Co., Ltd.
4
*
5
* SPDX-License-Identifier: Apache-2.0
6
*/
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ESPRESSIF_ESP32_GPIO_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ESPRESSIF_ESP32_GPIO_H_
9
24
#define ESP32_GPIO_DS_POS 9
25
#define ESP32_GPIO_DS_MASK (0x3U << ESP32_GPIO_DS_POS)
27
29
#define ESP32_GPIO_DS_DFLT (0x0U << ESP32_GPIO_DS_POS)
30
32
#define ESP32_GPIO_DS_ALT (0x3U << ESP32_GPIO_DS_POS)
33
35
47
49
#define ESP32_GPIO_PIN_OUT_EN (1 << 12)
50
52
#define ESP32_GPIO_PIN_IN_EN (1 << 13)
53
55
82
84
#define ESP32_GPIO_SLEEP_HOLD_EN (1 << 14)
85
87
88
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_GPIO_ESPRESSIF_ESP32_GPIO_H_ */
zephyr
dt-bindings
gpio
espressif-esp32-gpio.h
Generated on
for Zephyr API Documentation by
1.16.1