Function esp_idf_hal::sys::esp_etm_del_task
source ยท pub unsafe extern "C" fn esp_etm_del_task(
task: *mut esp_etm_task_t,
) -> i32
Expand description
@brief Delete ETM task
@note Although the ETM task comes from various peripherals, we provide the same user API to delete the task handle seamlessly.
@param[in] task ETM task handle obtained from a driver/peripheral, e.g. xxx_new_etm_task
@return
- ESP_OK: Delete ETM task successfully
- ESP_ERR_INVALID_ARG: Delete ETM task failed because of invalid argument
- ESP_FAIL: Delete ETM task failed because of other reasons