Lines Matching refs:rtc_wdt_ctx
76 static wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT();
328 if (!wdt_hal_is_enabled(&rtc_wdt_ctx)) { in esp_panic_handler()
329 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_panic_handler()
331 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_panic_handler()
332 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_panic_handler()
335 wdt_hal_enable(&rtc_wdt_ctx); in esp_panic_handler()
336 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_panic_handler()
389 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_panic_handler()
390 wdt_hal_disable(&rtc_wdt_ctx); in esp_panic_handler()
391 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_panic_handler()
397 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_panic_handler()
400 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_panic_handler()
401 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_panic_handler()
404 wdt_hal_enable(&rtc_wdt_ctx); in esp_panic_handler()
405 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_panic_handler()
418 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_panic_handler()
419 wdt_hal_disable(&rtc_wdt_ctx); in esp_panic_handler()
420 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_panic_handler()