esp_task_wdt_impl_timer_allocate() function
Allocate and initialize the Task Watchdog Timer (TWDT) with the given configuration.
Arguments
config
Pointer to the configuration structure
obj
Abstract context for the current timer, this will be passed to all the other functions
Return value
- ESP_OK: Successfully initialized and configured the timer - Other: Failed to initialize the timer