Merge branch 'contrib/github_pr_10811_5.1' into 'release/v5.1'

i2c: introduce chip specific cmd register number(backport v5.1)

See merge request espressif/esp-idf!24694
This commit is contained in:
morris
2023-07-12 11:15:03 +08:00
15 changed files with 36 additions and 1 deletions

View File

@@ -363,6 +363,10 @@ config SOC_I2C_FIFO_LEN
int
default 32
config SOC_I2C_CMD_REG_NUM
int
default 8
config SOC_I2C_SUPPORT_SLAVE
bool
default y

View File

@@ -175,6 +175,7 @@
#define SOC_I2C_NUM (1U)
#define SOC_I2C_FIFO_LEN (32) /*!< I2C hardware FIFO depth */
#define SOC_I2C_CMD_REG_NUM (8) /*!< Number of I2C command registers */
#define SOC_I2C_SUPPORT_SLAVE (1)
// FSM_RST only resets the FSM, not using it. So SOC_I2C_SUPPORT_HW_FSM_RST not defined.