mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
fix(esp_hw_support): 1v8 flash/psram dedicate ldo depends on pd_cur on
This commit is contained in:
@@ -142,6 +142,22 @@ __attribute__((always_inline)) static inline uint32_t efuse_ll_get_controller_st
|
||||
return EFUSE.status.state;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Flash power select eFuse bit (see VDD_SPI voltage table; not the final rail by itself)
|
||||
*/
|
||||
__attribute__((always_inline)) static inline uint32_t efuse_ll_get_flash_power_sel(void)
|
||||
{
|
||||
return EFUSE.rd_repeat_data6.pmu_flash_power_sel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Flash power select valid eFuse bit (1: `flash_power_sel` is valid, 0: not)
|
||||
*/
|
||||
__attribute__((always_inline)) static inline uint32_t efuse_ll_get_flash_power_sel_en(void)
|
||||
{
|
||||
return EFUSE.rd_repeat_data6.pmu_flash_power_sel_en;
|
||||
}
|
||||
|
||||
/******************* eFuse control functions *************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user