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