Function esp_idf_sys::esp_timer_stop
source ยท pub unsafe extern "C" fn esp_timer_stop(
timer: esp_timer_handle_t,
) -> esp_err_t
Expand description
@brief Stop the timer
This function stops the timer previously started using esp_timer_start_once or esp_timer_start_periodic.
@param timer timer handle created using esp_timer_create @return - ESP_OK on success - ESP_ERR_INVALID_STATE if the timer is not running