sleep: fix sleep current issue caused by sar adc

This commit is contained in:
Li Shuai
2023-03-15 10:39:52 +08:00
parent 361f6821a0
commit a25ce78392
10 changed files with 67 additions and 0 deletions
@@ -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