Select one of the symbols to view example projects that use it.
 
Outline
#include "sdkconfig.h"
#include "esp_err.h"
twdt_ctx_t
esp_task_wdt_stop();
esp_task_wdt_restart();
Files
loading...
SourceVuESP-IDF Framework and ExamplesESP-IDFcomponents/esp_system/include/esp_private/esp_task_wdt.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include "sdkconfig.h" #include "esp_err.h" #if CONFIG_ESP_TASK_WDT_EN #ifdef __cplusplus extern "C" { #endif /** * @brief Type used to define the context of a Task WatchDog Timer implementation. * This is used internally in the TWDT driver, it is implementation specific. *//* ... */ typedef void* twdt_ctx_t; /** * @brief Type of the function used as an ISR callback. *//* ... */ typedef void (*twdt_isr_callback)(void*); /** * @brief Stop the Task Watchdog Timer (TWDT) * * This function will temporarily stop the timer until it is restarted by a call to esp_task_wdt_restart(). * @note esp_task_wdt_stop() must not be called by multiple tasks simultaneously. * @return * - ESP_OK: TWDT successfully stopped * - Other: Failed to stop the TWDT *//* ... */ esp_err_t esp_task_wdt_stop(void); /** * @brief Restart the Task Watchdog Timer (TWDT) * * This function will restart the timer after it has been stopped by esp_task_wdt_stop(). * @note esp_task_wdt_restart() must not be called by multiple tasks simultaneously. * @return * - ESP_OK: TWDT successfully stopped * - Other: Failed to stop the TWDT *//* ... */ esp_err_t esp_task_wdt_restart(void); #ifdef __cplusplus }{...} #endif /* ... */ #endif // CONFIG_ESP_TASK_WDT_EN
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.