esp_task_wdt_reset() function
Reset the Task Watchdog Timer (TWDT) on behalf of the currently running task This function will reset the TWDT on behalf of the currently running task. Each subscribed task must periodically call this function to prevent the TWDT from timing out. If one or more subscribed tasks fail to reset the TWDT on their own behalf, a TWDT timeout will occur.
Return value
- ESP_OK: Successfully reset the TWDT on behalf of the currently running task - Other: Failed to reset
![]()
esp_task_wdt_reset();
esp_task_wdt_reset() is called by 1 function and calls 9 functions:
![]()
esp_task_wdt_reset()
esp_task_wdt_reset() reads 7 variables and writes 1 variable:
![]()
esp_task_wdt_reset()