Expand description

Set SCL stretch of I2C slave

Structs

Type Aliases

  • Register SCL_STRETCH_CONF reader
  • Field SLAVE_BYTE_ACK_CTL_EN reader - The enable bit for slave to control ACK level function.
  • Field SLAVE_BYTE_ACK_CTL_EN writer - The enable bit for slave to control ACK level function.
  • Field SLAVE_BYTE_ACK_LVL reader - Set the ACK level when slave controlling ACK level function enables.
  • Field SLAVE_BYTE_ACK_LVL writer - Set the ACK level when slave controlling ACK level function enables.
  • 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 reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_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 reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_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.
  • Register SCL_STRETCH_CONF writer