mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
change(esp_hw_support): refactor pmu/esp_sleep param struct
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user