ESP32: pin description and peripheral configuration
You need to read about the IO_MUX function in the Technical Reference Manual. For complex processors like this it is not uncommon to split the pinout and parametric characteristics into a &quot;datasheet&quot; and put the functional information in a &quot;technical reference manual&quot;.