mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
refactor(regi2c): remove regi2c_defs.h from some targets
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include "soc/soc.h"
|
||||
#include "soc/regi2c_defs.h"
|
||||
#include "soc/i2c_ana_mst_reg.h"
|
||||
#include "soc/pmu_reg.h"
|
||||
#include "modem/modem_lpcon_struct.h"
|
||||
@@ -18,6 +17,15 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ANA_I2C_MST_CLK_HAS_ROOT_GATING 1 /*!< Any regi2c operation needs enable the analog i2c master clock first */
|
||||
|
||||
/**
|
||||
* Restore regi2c analog calibration related configuration registers.
|
||||
* This is a workaround for calibration error when waking up from light sleep
|
||||
*/
|
||||
#define REGI2C_LL_ANA_CALI_PD_WORKAROUND 1
|
||||
#define REGI2C_LL_ANA_CALI_BYTE_NUM 8
|
||||
|
||||
/**
|
||||
* @brief Enable analog I2C master clock
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user