Home
last modified time | relevance | path

Searched refs:cur_mode (Results 1 – 1 of 1) sorted by relevance

/components/drivers/pm/
A Dpm.c321 rt_weak rt_uint8_t pm_get_sleep_threshold_mode(rt_uint8_t cur_mode, rt_tick_t timeout_tick) in pm_get_sleep_threshold_mode() argument
323 rt_uint8_t sleep_mode = cur_mode; in pm_get_sleep_threshold_mode()
328 if (cur_mode >= PM_SLEEP_MODE_MAX) in pm_get_sleep_threshold_mode()
332 switch (cur_mode) in pm_get_sleep_threshold_mode()
355 cur_mode = sleep_mode; in pm_get_sleep_threshold_mode()
359 cur_mode = PM_SLEEP_MODE_IDLE; in pm_get_sleep_threshold_mode()
363 return cur_mode; in pm_get_sleep_threshold_mode()

Completed in 10 milliseconds