ESP-IDF + 0/1 examples
SourceVu will show references to i2c_slave_config_t from the following samples and libraries:
 
Symbols
loading (2/5)...
Files
loading (2/5)...
SummarySyntaxExamplesReferencesInstances

Fields

Field
Declared as
Description
I2C port number, `-1` for auto selecting.
SDA IO number used by I2C bus.
SCL IO number used by I2C bus.
Clock source of I2C bus.
uint32_t
Depth of internal transfer ringbuffer, increase this value can support more transfers pending in the background.
uint16_t
I2C slave address.
I2C slave address in bit length.
int
I2C interrupt priority, if set to 0, driver will select the default priority (1,2,3).
struct { #if SOC_I2C_SLAVE_CAN_GET_STRETCH_CAUSE uint32_t stretch_en: 1; #endif #if SOC_I2C_SLAVE_SUPPORT_BROADCAST uint32_t broadcast_en: 1; #endif #if SOC_I2C_SLAVE_SUPPORT_I2CRAM_ACCESS uint32_t access_ram_en: 1; #endif #if SOC_I2C_SLAVE_SUPPORT_SLAVE_UNMATCH uint32_t slave_unmatch_en: 1; #endif uint32_t allow_pd: 1; }
I2C slave config flags.