mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
refactor(esp_phy): refactor phy sleep data initialize, split it to support multiple targets
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#pragma once
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_phy_init.h"
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -242,6 +243,18 @@ uint32_t phy_ana_i2c_master_burst_rf_onoff(bool on);
|
||||
void phy_wakeup_from_modem_state_extra_init(void);
|
||||
#endif
|
||||
|
||||
#if SOC_PM_MODEM_RETENTION_BY_REGDMA && CONFIG_MAC_BB_PD
|
||||
/**
|
||||
* @brief PHY module sleep data (includes AGC, TX, NRX, BB, FE, etc..) initialize.
|
||||
*/
|
||||
void esp_phy_sleep_data_init(void);
|
||||
|
||||
/**
|
||||
* @brief PHY module sleep data de-initialize.
|
||||
*/
|
||||
void esp_phy_sleep_data_deinit(void);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user