Function esp_idf_svc::sys::esp_timer_new_etm_alarm_event
source · pub unsafe extern "C" fn esp_timer_new_etm_alarm_event(
out_event: *mut *mut esp_etm_event_t,
) -> i32
Expand description
@brief Get the ETM event handle of esp_timer underlying alarm event
@note The created ETM event object can be deleted later by calling esp_etm_del_event
@note The ETM event is generated by the underlying hardware – systimer, therefore, if the esp_timer is not clocked by systimer, then no ETM event will be generated.
@param[out] out_event Returned ETM event handle @return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error