mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-02 14:49:04 +00:00
feat(volt): chip auto adjust volt for esp32c6 & esp32h2
This commit is contained in:
@@ -249,6 +249,32 @@ bool pmu_sleep_finish(void);
|
||||
*/
|
||||
void pmu_init(void);
|
||||
|
||||
/**
|
||||
* @brief Initialize PVT related parameters
|
||||
*/
|
||||
void pvt_auto_dbias_init(void);
|
||||
|
||||
/**
|
||||
* @brief Enable or disable PVT functions
|
||||
*/
|
||||
void pvt_func_enable(bool enable);
|
||||
|
||||
/**
|
||||
* @brief Initialize charge pump related parameters
|
||||
*/
|
||||
void charge_pump_init(void);
|
||||
|
||||
/**
|
||||
* @brief Enable or disable charge pump functions
|
||||
*/
|
||||
void charge_pump_enable(bool enable);
|
||||
|
||||
/**
|
||||
* @brief Get Hp_dbias from register
|
||||
*/
|
||||
uint32_t get_pvt_dbias(void);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Enable or disable system clock in PMU HP sleep state
|
||||
*
|
||||
|
@@ -31,6 +31,7 @@ extern "C" {
|
||||
#define REGDMA_MODEMSYSCON_LINK(_pri) ((0x02 << 8) | _pri)
|
||||
#define REGDMA_MODEMLPCON_LINK(_pri) ((0x03 << 8) | _pri)
|
||||
|
||||
#define REGDMA_PVT_LINK(_pri) ((0x0c << 8) | _pri)
|
||||
#define REGDMA_INTMTX_LINK(_pri) ((0x0d << 8) | _pri)
|
||||
#define REGDMA_HPSYS_LINK(_pri) ((0x0e << 8) | _pri)
|
||||
#define REGDMA_TEEAPM_LINK(_pri) ((0x0f << 8) | _pri)
|
||||
|
@@ -45,6 +45,7 @@ typedef enum sleep_retention_module_bitmap {
|
||||
SLEEP_RETENTION_MODULE_IOMUX = BIT(21),
|
||||
SLEEP_RETENTION_MODULE_SPIMEM = BIT(22),
|
||||
SLEEP_RETENTION_MODULE_SYSTIMER = BIT(23),
|
||||
SLEEP_RETENTION_MODULE_PVT = BIT(24),
|
||||
|
||||
SLEEP_RETENTION_MODULE_ALL = (uint32_t)-1
|
||||
} sleep_retention_module_bitmap_t;
|
||||
|
Reference in New Issue
Block a user