change(esp_hw_support): refactor pmu/esp_sleep param struct

This commit is contained in:
hebinglin
2026-07-29 15:23:09 +08:00
parent 33591e16b6
commit a4889bd73d
36 changed files with 212 additions and 267 deletions
@@ -73,8 +73,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -72,8 +72,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -60,8 +60,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -69,8 +69,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -71,8 +71,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -72,8 +72,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -68,8 +68,7 @@
extern "C" {
#endif
typedef uint32_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint32_t)1) << (b))
#ifdef __cplusplus
}
@@ -107,8 +107,7 @@
extern "C" {
#endif
typedef uint64_t pmu_sleep_clk_icg_flags_t;
#define PMU_SLEEP_CLK_ICG_BIT(b) (((pmu_sleep_clk_icg_flags_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_BIT(b) (((uint64_t)1) << (b))
#define PMU_SLEEP_CLK_ICG_FUNC_LO(f) ((uint32_t)(f))
#define PMU_SLEEP_CLK_ICG_FUNC_HI(f) ((uint32_t)((f) >> 32))