Function esp_idf_svc::sys::esp_task_wdt_reset_user

source ยท
pub unsafe extern "C" fn esp_task_wdt_reset_user(
    user_handle: *mut esp_task_wdt_user_handle_s,
) -> i32
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