feat(i2c): support i2c on esp32-c61

This commit is contained in:
laokaiyao
2024-08-05 18:16:57 +08:00
parent cd1178298f
commit 1397e5421e
27 changed files with 1304 additions and 156 deletions

View File

@@ -329,7 +329,7 @@ typedef enum {
/**
* @brief Type of I2C clock source.
*/
typedef enum { // TODO: [ESP32C5] IDF-8694, IDF-8696 (inherit from C6)
typedef enum {
I2C_CLK_SRC_XTAL = SOC_MOD_CLK_XTAL, /*!< Select XTAL as the source clock */
I2C_CLK_SRC_RC_FAST = SOC_MOD_CLK_RC_FAST, /*!< Select RC_FAST as the source clock */
I2C_CLK_SRC_DEFAULT = SOC_MOD_CLK_XTAL, /*!< Select XTAL as the default source clock */