Function esp_idf_sys::timer_set_auto_reload
source ยท pub unsafe extern "C" fn timer_set_auto_reload(
group_num: timer_group_t,
timer_num: timer_idx_t,
reload: timer_autoreload_t,
) -> esp_err_t
Expand description
@brief Enable or disable counter reload function when alarm event occurs.
@param group_num Timer group number, 0 for TIMERG0 or 1 for TIMERG1 @param timer_num Timer index, 0 for hw_timer[0] & 1 for hw_timer[1] @param reload Counter reload mode.
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error