Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_hw_support/
Dsleep_modes.c485 for (uint32_t tg_num = 0; tg_num < SOC_TIMER_GROUPS; ++tg_num) { in suspend_timers() local
486 if (mwdt_ll_check_if_enabled(TIMER_LL_GET_HW(tg_num))) { in suspend_timers()
487 mwdt_ll_write_protect_disable(TIMER_LL_GET_HW(tg_num)); in suspend_timers()
488 mwdt_ll_disable(TIMER_LL_GET_HW(tg_num)); in suspend_timers()
489 mwdt_ll_write_protect_enable(TIMER_LL_GET_HW(tg_num)); in suspend_timers()
490 s_stopped_tgwdt_bmap |= BIT(tg_num); in suspend_timers()
511 for (uint32_t tg_num = 0; tg_num < SOC_TIMER_GROUPS; ++tg_num) { in resume_timers() local
512 if (s_stopped_tgwdt_bmap & BIT(tg_num)) { in resume_timers()
513 mwdt_ll_write_protect_disable(TIMER_LL_GET_HW(tg_num)); in resume_timers()
514 mwdt_ll_enable(TIMER_LL_GET_HW(tg_num)); in resume_timers()
[all …]