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"
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. | |
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 41 of file periph_conf.h.
#define DAC_GPIOS { } |
Definition at line 52 of file periph_conf.h.
#define I2C0_SCL GPIO33 |
SCL signal of I2C_DEV(0)
Definition at line 69 of file periph_conf.h.
#define I2C0_SDA GPIO32 |
SDA signal of I2C_DEV(0)
Definition at line 72 of file periph_conf.h.
#define I2C0_SPEED I2C_SPEED_FAST |
I2C bus speed of I2C_DEV(0)
Definition at line 66 of file periph_conf.h.
#define PWM0_GPIOS { GPIO2, GPIO4 } |
Definition at line 89 of file periph_conf.h.
#define SPI0_CS0 GPIO15 |
HSPI CS0.
Definition at line 109 of file periph_conf.h.
#define SPI0_CTRL HSPI |
HSPI is used as SPI_DEV(0)
Definition at line 105 of file periph_conf.h.
#define SPI0_MISO GPIO12 |
HSPI MISO.
Definition at line 107 of file periph_conf.h.
#define SPI0_MOSI GPIO13 |
HSPI MOSI.
Definition at line 108 of file periph_conf.h.
#define SPI0_SCK GPIO14 |
HSPI SCK.
Definition at line 106 of file periph_conf.h.
#define UART0_RXD GPIO3 |
direct I/O pin for UART_DEV(0) RxD, can't be changed
Definition at line 124 of file periph_conf.h.
#define UART0_TXD GPIO1 |
direct I/O pin for UART_DEV(0) TxD, can't be changed
Definition at line 123 of file periph_conf.h.