Merge branch 'refactor/i2c_hal' into 'master'

I2C: Refactor i2c hal and ll(pre-MR of I2C driver-NG)

See merge request espressif/esp-idf!19750
This commit is contained in:
Simon
2022-09-02 10:47:35 +08:00
13 changed files with 1669 additions and 2238 deletions
@@ -245,7 +245,7 @@ config SOC_I2C_NUM
config SOC_I2C_FIFO_LEN
int
default 32
default 16
config SOC_I2C_SUPPORT_HW_CLR_BUS
bool
@@ -127,7 +127,7 @@
// ESP32-C2 has 1 I2C
#define SOC_I2C_NUM (1U)
#define SOC_I2C_FIFO_LEN (32) /*!< I2C hardware FIFO depth */
#define SOC_I2C_FIFO_LEN (16) /*!< I2C hardware FIFO depth */
// FSM_RST only resets the FSM, not using it. So SOC_I2C_SUPPORT_HW_FSM_RST not defined.
#define SOC_I2C_SUPPORT_HW_CLR_BUS (1)