Merge branch 'feature/support_i2c_on_h2' into 'master'
i2c: support i2c on esp32h2 Closes IDF-6233 and IDF-6689 See merge request espressif/esp-idf!21982
This commit is contained in:
@@ -22,7 +22,9 @@ extern "C" {
|
||||
#include "soc/soc_caps.h"
|
||||
#include "hal/i2c_types.h"
|
||||
|
||||
#define I2C_APB_CLK_FREQ APB_CLK_FREQ /*!< I2C source clock is APB clock, 80MHz */
|
||||
#if SOC_I2C_SUPPORT_APB
|
||||
#define I2C_APB_CLK_FREQ _Pragma ("GCC warning \"'I2C_APB_CLK_FREQ' macro is deprecated\"") (APB_CLK_FREQ) /*!< I2C source clock is APB clock, 80MHz, deprecated */
|
||||
#endif
|
||||
|
||||
// I2C clk flags for users to use, can be expanded in the future.
|
||||
#define I2C_SCLK_SRC_FLAG_FOR_NOMAL (0) /*!< Any one clock source that is available for the specified frequency may be choosen*/
|
||||
|
||||
Reference in New Issue
Block a user