Function esp_idf_svc::hal::sys::esp_task_wdt_reconfigure

source ยท
pub unsafe extern "C" fn esp_task_wdt_reconfigure(
    config: *const esp_task_wdt_config_t,
) -> i32
Expand description

@brief Reconfigure the Task Watchdog Timer (TWDT)

The function reconfigures the running TWDT. It must already be initialized when this function is called.

@note esp_task_wdt_reconfigure() must not be called by multiple tasks simultaneously.

@param[in] config Configuration structure

@return

  • ESP_OK: Reconfiguring was successful
  • ESP_ERR_INVALID_STATE: TWDT not initialized yet
  • Other: Failed to initialize TWDT