1 /* 2 * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 14 /** 15 * @brief Initialize the non-CPU-specific parts of interrupt watchdog. 16 * 17 * This function is automatically called during application startup if the 18 * interrupt watchdog is enabled in menuconfig. 19 */ 20 void esp_int_wdt_init(void); 21 22 /** 23 * @brief Enable the interrupt watchdog on the current CPU. 24 * 25 * This function is automatically called during application startup for each CPU 26 * that has enabled the interrupt watchdog in menuconfig. 27 * 28 * @note esp_int_wdt_init() must be called first before calling this function 29 */ 30 void esp_int_wdt_cpu_init(void); 31 32 #ifdef __cplusplus 33 } 34 #endif 35