Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
espressif-esp32-gpio.h File Reference

Go to the source code of this file.

Macros

GPIO drive strength flags

The drive strength flags are a Zephyr specific extension of the standard GPIO flags specified by the Linux GPIO binding.

Only applicable for Espressif ESP32 SoCs.

The interface supports two different drive strengths: DFLT - The lowest drive strength supported by the HW ALT - The highest drive strength supported by the HW

#define ESP32_GPIO_DS_DFLT   (0x0U << ESP32_GPIO_DS_POS)
 Default drive strength.
 
#define ESP32_GPIO_DS_ALT   (0x3U << ESP32_GPIO_DS_POS)
 Alternative drive strength.
 

Macro Definition Documentation

◆ ESP32_GPIO_DS_ALT

#define ESP32_GPIO_DS_ALT   (0x3U << ESP32_GPIO_DS_POS)

Alternative drive strength.

◆ ESP32_GPIO_DS_DFLT

#define ESP32_GPIO_DS_DFLT   (0x0U << ESP32_GPIO_DS_POS)

Default drive strength.