2022-05-05 03:38:49 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2016-10-25 06:18:11 -04:00
|
|
|
|
2022-05-05 05:04:59 -04:00
|
|
|
#pragma once
|
2016-10-25 06:18:11 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/**
|
2022-05-05 05:04:59 -04:00
|
|
|
* @brief Initialize the non-CPU-specific parts of interrupt watchdog.
|
|
|
|
*
|
|
|
|
* This function is automatically called during application startup if the
|
|
|
|
* interrupt watchdog is enabled in menuconfig.
|
|
|
|
*/
|
2019-07-16 05:33:30 -04:00
|
|
|
void esp_int_wdt_init(void);
|
2016-10-21 05:59:57 -04:00
|
|
|
|
2018-01-11 08:43:58 -05:00
|
|
|
/**
|
2022-05-05 05:04:59 -04:00
|
|
|
* @brief Enable the interrupt watchdog on the current CPU.
|
|
|
|
*
|
|
|
|
* This function is automatically called during application startup for each CPU
|
|
|
|
* that has enabled the interrupt watchdog in menuconfig.
|
|
|
|
*
|
|
|
|
* @note esp_int_wdt_init() must be called first before calling this function
|
|
|
|
*/
|
2019-07-16 05:33:30 -04:00
|
|
|
void esp_int_wdt_cpu_init(void);
|
2018-01-11 08:43:58 -05:00
|
|
|
|
2016-10-25 06:18:11 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|