pub unsafe extern "C" fn esp_timer_stop(timer: *mut esp_timer) -> i32
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