Lines Matching refs:timer_sel
73 static void ledc_ls_timer_update(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_ls_timer_update() argument
76 ledc_hal_ls_timer_update(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel); in ledc_ls_timer_update()
169 esp_err_t ledc_timer_set(ledc_mode_t speed_mode, ledc_timer_t timer_sel, uint32_t clock_divider, ui… in ledc_timer_set() argument
173 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_timer_set()
176 ledc_hal_set_clock_divider(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, clock_divider); in ledc_timer_set()
177 ledc_hal_set_clock_source(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, clk_src); in ledc_timer_set()
178 ledc_hal_set_duty_resolution(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel, duty_resolution); in ledc_timer_set()
179 ledc_ls_timer_update(speed_mode, timer_sel); in ledc_timer_set()
203 …r_t ledc_bind_channel_timer(ledc_mode_t speed_mode, ledc_channel_t channel, ledc_timer_t timer_sel) in ledc_bind_channel_timer() argument
206 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_bind_channel_timer()
209 ledc_hal_bind_channel_timer(&(p_ledc_obj[speed_mode]->ledc_hal), channel, timer_sel); in ledc_bind_channel_timer()
215 esp_err_t ledc_timer_rst(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_timer_rst() argument
218 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_timer_rst()
221 ledc_hal_timer_rst(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel); in ledc_timer_rst()
222 ledc_ls_timer_update(speed_mode, timer_sel); in ledc_timer_rst()
227 esp_err_t ledc_timer_pause(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_timer_pause() argument
230 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_timer_pause()
233 ledc_hal_timer_pause(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel); in ledc_timer_pause()
234 ledc_ls_timer_update(speed_mode, timer_sel); in ledc_timer_pause()
239 esp_err_t ledc_timer_resume(ledc_mode_t speed_mode, ledc_timer_t timer_sel) in ledc_timer_resume() argument
242 LEDC_ARG_CHECK(timer_sel < LEDC_TIMER_MAX, "timer_select"); in ledc_timer_resume()
245 ledc_hal_timer_resume(&(p_ledc_obj[speed_mode]->ledc_hal), timer_sel); in ledc_timer_resume()
246 ledc_ls_timer_update(speed_mode, timer_sel); in ledc_timer_resume()
362 uint32_t timer_select = ledc_conf->timer_sel; in ledc_channel_config()
725 ledc_timer_t timer_sel; in _ledc_set_fade_with_time() local
727 ledc_hal_get_channel_timer(&(p_ledc_obj[speed_mode]->ledc_hal), channel, &timer_sel); in _ledc_set_fade_with_time()
729 uint32_t freq = ledc_get_freq(speed_mode, timer_sel); in _ledc_set_fade_with_time()