Skip to content

soc_esp32::pinmux

[Esp32PinMux] — the chip’s implementation of [PinMux].

Drivers ask for “SDA of I2C0 on GPIO 21” and this decides how to deliver it: IO_MUX direct where the pad is native to the signal, the GPIO matrix otherwise, and an error where the silicon cannot do it at all.

struct Esp32PinMux;

ESP32 pin routing.

Zero-sized: routing touches fixed register blocks, so there is no per- instance state and no reason to make callers thread one around.

Implements: PinMux, Clone, Copy, Debug, Default