Peripheral MCU configuration for Espressif ESP32-Ethernet-Kit. More...
Peripheral MCU configuration for Espressif ESP32-Ethernet-Kit.
Definition in file periph_conf.h.
#include <stdint.h>#include "periph_conf_common.h"
 Include dependency graph for periph_conf.h:Go to the source code of this file.
ADC and DAC channel configuration | |
| #define | ADC_GPIOS { GPIO34, GPIO35, GPIO36, GPIO39 } | 
| Declaration of GPIOs that can be used as ADC channels.  More... | |
Declaration of GPIOs that can be used as DAC channels | |
ESP32-Ethernet-Kit has no GPIOs left that might be used as DAC channels.  | |
| #define | DAC_GPIOS { } | 
I2C configuration | |
  | |
| #define | I2C0_SPEED I2C_SPEED_FAST | 
| I2C bus speed of I2C_DEV(0)  | |
| #define | I2C0_SCL GPIO33 | 
| SCL signal of I2C_DEV(0)  | |
| #define | I2C0_SDA GPIO32 | 
| SDA signal of I2C_DEV(0)  | |
PWM channel configuration | |
  | |
| #define | PWM0_GPIOS { GPIO2, GPIO4 } | 
SPI configuration | |
SPI configuration depends on configured/connected components. HSPI is only available when all JTAG pins are disabled.  | |
| #define | SPI0_CTRL HSPI | 
| HSPI is used as SPI_DEV(0)  | |
| #define | SPI0_SCK GPIO14 | 
| HSPI SCK.  | |
| #define | SPI0_MISO GPIO12 | 
| HSPI MISO.  | |
| #define | SPI0_MOSI GPIO13 | 
| HSPI MOSI.  | |
| #define | SPI0_CS0 GPIO15 | 
| HSPI CS0.  | |
UART configuration | |
ESP32 provides 3 UART interfaces at maximum: UART_DEV(0) uses fixed standard configuration.  | |
| #define | UART0_TXD GPIO1 | 
| direct I/O pin for UART_DEV(0) TxD, can't be changed  | |
| #define | UART0_RXD GPIO3 | 
| direct I/O pin for UART_DEV(0) RxD, can't be changed  | |
| #define ADC_GPIOS { GPIO34, GPIO35, GPIO36, GPIO39 } | 
Declaration of GPIOs that can be used as ADC channels.
adc_init function, they can be used for other purposes. Definition at line 37 of file periph_conf.h.