16.4. esp32 — Esp32

16.4.1. I2C

Simba does not yet support the ESP32 hardware I2C support, but can use the i2c_soft — Software I2C driver instead. By default one i2c — I2C compatability device is instantiated:

Device SCL SDA
i2c0 Pin 22 Pin 21

Hardware reference: https://github.com/eerimoq/hardware-reference/tree/master/esp32

Source code: src/mcus/esp32/mcu.h


Defines

PIN_DEVICE_MAX
EXTI_DEVICE_MAX
SPI_DEVICE_MAX
UART_DEVICE_MAX
ADC_DEVICE_MAX
I2C_DEVICE_MAX
FLASH_DEVICE_MAX
CAN_DEVICE_MAX
DAC_DEVICE_MAX