Home
last modified time | relevance | path

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

/hal_espressif-latest/components/esp_system/
Dpanic.c76 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()
[all …]
Dstartup.c497 wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT(); in start_cpu0_default() local
498 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in start_cpu0_default()
499 wdt_hal_disable(&rtc_wdt_ctx); in start_cpu0_default()
500 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in start_cpu0_default()
/hal_espressif-latest/components/esp_system/port/soc/esp32c2/
Dsystem_internal.c58 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
59 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
61 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
62 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
63 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
65 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
66 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c94 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &RTCCNTL}; in esp_clk_init() local
100 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
101 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
103 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
104 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
118 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
119 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
120 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
121 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32c3/
Dsystem_internal.c66 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
67 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
69 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
70 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
71 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
73 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
74 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c88 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &RTCCNTL}; in esp_clk_init() local
90 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
91 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
93 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
94 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
110 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
111 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
112 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
113 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32h2/
Dsystem_internal.c66 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
67 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
69 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
70 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
71 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
73 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
74 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c75 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &LP_WDT}; in esp_clk_init() local
78 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
79 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
81 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
82 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
97 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
98 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
99 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
100 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32c6/
Dsystem_internal.c70 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
71 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
73 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
74 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
75 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
77 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
78 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c73 wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT(); in esp_clk_init() local
75 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
76 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
78 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
79 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
96 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
97 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
98 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
99 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/
Dsystem_internal.c64 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
65 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
67 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
68 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
69 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
71 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
72 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c91 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &RTCCNTL}; in esp_clk_init() local
93 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
94 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
96 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
97 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
113 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
114 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
115 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
116 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/
Dsystem_internal.c72 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
73 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
75 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
76 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
77 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
79 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
80 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_restart_noos()
Dclk.c89 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &RTCCNTL}; in esp_clk_init() local
91 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
92 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
94 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
95 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
111 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
112 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
113 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
114 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/esp_system/port/soc/esp32/
Dsystem_internal.c64 wdt_hal_context_t rtc_wdt_ctx; in esp_restart_noos() local
65 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false); in esp_restart_noos()
67 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_restart_noos()
68 …wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_SYSTEM); in esp_restart_noos()
69 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE1, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_restart_noos()
72 wdt_hal_set_flashboot_en(&rtc_wdt_ctx, true); in esp_restart_noos()
Dclk.c142 wdt_hal_context_t rtc_wdt_ctx = {.inst = WDT_RWDT, .rwdt_dev = &RTCCNTL}; in esp_clk_init() local
144 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
145 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
147 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
148 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
164 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_clk_init()
165 wdt_hal_feed(&rtc_wdt_ctx); in esp_clk_init()
166 wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC); in esp_clk_init()
167 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_clk_init()
/hal_espressif-latest/components/bootloader_support/src/flash_encryption/
Dflash_encrypt.c443 wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT(); in esp_flash_encrypt_region() local
446 wdt_hal_write_protect_disable(&rtc_wdt_ctx); in esp_flash_encrypt_region()
447 wdt_hal_feed(&rtc_wdt_ctx); in esp_flash_encrypt_region()
448 wdt_hal_write_protect_enable(&rtc_wdt_ctx); in esp_flash_encrypt_region()
/hal_espressif-latest/components/esp_system/port/
Dcpu_start.c402 wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT(); local
403 wdt_hal_write_protect_disable(&rtc_wdt_ctx);
404 wdt_hal_disable(&rtc_wdt_ctx);
405 wdt_hal_write_protect_enable(&rtc_wdt_ctx);
/hal_espressif-latest/components/esp_hw_support/
Dsleep_modes.c1296 wdt_hal_context_t rtc_wdt_ctx = RWDT_HAL_CONTEXT_DEFAULT(); local
1297 …bool wdt_was_enabled = wdt_hal_is_enabled(&rtc_wdt_ctx); // If WDT was enabled in the user code…
1299 wdt_hal_init(&rtc_wdt_ctx, WDT_RWDT, 0, false);
1301 wdt_hal_write_protect_disable(&rtc_wdt_ctx);
1302 … wdt_hal_config_stage(&rtc_wdt_ctx, WDT_STAGE0, stage_timeout_ticks, WDT_STAGE_ACTION_RESET_RTC);
1303 wdt_hal_enable(&rtc_wdt_ctx);
1304 wdt_hal_write_protect_enable(&rtc_wdt_ctx);
1351 wdt_hal_write_protect_disable(&rtc_wdt_ctx);
1352 wdt_hal_disable(&rtc_wdt_ctx);
1353 wdt_hal_write_protect_enable(&rtc_wdt_ctx);