esp_int_wdt.h 766 B

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