Function esp_idf_svc::sys::esp_timer_is_active

source ยท
pub unsafe extern "C" fn esp_timer_is_active(
    timer: *mut esp_timer,
) -> bool
Expand description

@brief Returns status of a timer, active or not

This function is used to identify if the timer is still active or not.

@param timer timer handle created using esp_timer_create @return - 1 if timer is still active - 0 if timer is not active.