Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
pinctrl_esp32_common.h File Reference

Go to the source code of this file.

Macros

#define ESP32_PORT_IDX(_pin)
 
#define ESP32_PIN_NUM(_mux)
 
#define ESP32_PIN_SIGI(_mux)
 
#define ESP32_PIN_SIGO(_mux)
 
#define ESP32_PIN_BIAS(_cfg)
 
#define ESP32_PIN_DRV(_cfg)
 
#define ESP32_PIN_MODE_OUT(_cfg)
 
#define ESP32_PIN_EN_DIR(_cfg)
 

Macro Definition Documentation

◆ ESP32_PIN_BIAS

#define ESP32_PIN_BIAS ( _cfg)
Value:
#define ESP32_PIN_BIAS_SHIFT
Definition esp-pinctrl-common.h:36
#define ESP32_PIN_BIAS_MASK
Definition esp-pinctrl-common.h:37

◆ ESP32_PIN_DRV

#define ESP32_PIN_DRV ( _cfg)
Value:
#define ESP32_PIN_DRV_MASK
Definition esp-pinctrl-common.h:39
#define ESP32_PIN_DRV_SHIFT
Definition esp-pinctrl-common.h:38

◆ ESP32_PIN_EN_DIR

#define ESP32_PIN_EN_DIR ( _cfg)
Value:
#define ESP32_PIN_EN_DIR_MASK
Definition esp-pinctrl-common.h:43
#define ESP32_PIN_EN_DIR_SHIFT
Definition esp-pinctrl-common.h:42

◆ ESP32_PIN_MODE_OUT

#define ESP32_PIN_MODE_OUT ( _cfg)
Value:
#define ESP32_PIN_OUT_MASK
Definition esp-pinctrl-common.h:41
#define ESP32_PIN_OUT_SHIFT
Definition esp-pinctrl-common.h:40

◆ ESP32_PIN_NUM

#define ESP32_PIN_NUM ( _mux)
Value:
#define ESP32_PIN_NUM_SHIFT
Definition esp-pinctrl-common.h:12
#define ESP32_PIN_NUM_MASK
Definition esp-pinctrl-common.h:13

◆ ESP32_PIN_SIGI

#define ESP32_PIN_SIGI ( _mux)
Value:
#define ESP32_PIN_SIGI_MASK
Definition esp-pinctrl-common.h:20
#define ESP32_PIN_SIGI_SHIFT
Definition esp-pinctrl-common.h:21

◆ ESP32_PIN_SIGO

#define ESP32_PIN_SIGO ( _mux)
Value:
#define ESP32_PIN_SIGO_MASK
Definition esp-pinctrl-common.h:22
#define ESP32_PIN_SIGO_SHIFT
Definition esp-pinctrl-common.h:23

◆ ESP32_PORT_IDX

#define ESP32_PORT_IDX ( _pin)
Value:
(((_pin) < 32) ? 0 : 1)