Module esp32s2::i2c0::scl_stretch_conf
source · Expand description
Set SCL stretch of I2C slave
Structs
Register
SCL_STRETCH_CONF readerSet SCL stretch of I2C slave
Register
SCL_STRETCH_CONF writerType Definitions
Field
SLAVE_SCL_STRETCH_CLR writer - Set this bit to clear the I2C slave SCL stretch function.Field
SLAVE_SCL_STRETCH_EN reader - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when I2C_SLAVE_SCL_STRETCH_EN is 1 and stretch event happens. The stretch cause can be seen in I2C_STRETCH_CAUSE.Field
SLAVE_SCL_STRETCH_EN writer - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when I2C_SLAVE_SCL_STRETCH_EN is 1 and stretch event happens. The stretch cause can be seen in I2C_STRETCH_CAUSE.Field
STRETCH_PROTECT_NUM reader - Configure the period of I2C slave stretching SCL line.Field
STRETCH_PROTECT_NUM writer - Configure the period of I2C slave stretching SCL line.