sleep: fix sleep current issue caused by sar adc

This commit is contained in:
Li Shuai
2023-03-15 10:39:52 +08:00
committed by Armando
parent 2a3ee80fba
commit d84cdace52
8 changed files with 53 additions and 0 deletions

View File

@@ -62,6 +62,16 @@ void sar_periph_ctrl_pwdet_power_acquire(void);
*/
void sar_periph_ctrl_pwdet_power_release(void);
/**
* @brief Enable SAR power when system wakes up
*/
void sar_periph_ctrl_power_enable(void);
/**
* @brief Disable SAR power when system goes to sleep
*/
void sar_periph_ctrl_power_disable(void);
#ifdef __cplusplus
}
#endif