pub unsafe extern "C" fn esp_task_wdt_reset_user(
    user_handle: esp_task_wdt_user_handle_t
) -> esp_err_t
Expand description

@brief Reset the Task Watchdog Timer (TWDT) on behalf of a user

This function will reset the TWDT on behalf of a user. Each subscribed user must periodically call this function to prevent the TWDT from timing out. If one or more subscribed users fail to reset the TWDT on their own behalf, a TWDT timeout will occur.

@param[in] user_handle User handle

  • ESP_OK: Successfully reset the TWDT on behalf of the user
  • Other: Failed to reset