feat(esp_hw_support): support sleep retention module runtime attach and detach

This commit is contained in:
Li Shuai
2026-05-21 11:46:16 +08:00
committed by BOT
parent c4a8b106ce
commit aa56e1af2e
2 changed files with 143 additions and 0 deletions
@@ -161,6 +161,9 @@ esp_err_t sleep_retention_module_allocate(sleep_retention_module_t module);
*/
esp_err_t sleep_retention_module_free(sleep_retention_module_t module);
esp_err_t sleep_retention_module_attach(sleep_retention_module_t module);
esp_err_t sleep_retention_module_detach(sleep_retention_module_t module);
/**
* @brief Force take the power lock so that during sleep the power domain won't be powered off.
*