Searched refs:div_param (Results 1 – 3 of 3) sorted by relevance
264 uint32_t div_param = 0; in ledc_set_timer_div() local275 div_param = ( (uint64_t) s_ledc_slow_clk_8M << 8 ) / freq_hz / precision; in ledc_set_timer_div()280 div_param = ( (uint64_t) LEDC_APB_CLK_HZ << 8 ) / freq_hz / precision; in ledc_set_timer_div()281 if (div_param > LEDC_TIMER_DIV_NUM_MAX) { in ledc_set_timer_div()284 div_param = ((uint64_t) LEDC_REF_CLK_HZ << 8) / freq_hz / precision; in ledc_set_timer_div()285 } else if (div_param < 256) { in ledc_set_timer_div()293 div_param = ( (uint64_t) src_clk_freq << 8 ) / freq_hz / precision; in ledc_set_timer_div()296 if (div_param < 256 || div_param > LEDC_TIMER_DIV_NUM_MAX) { in ledc_set_timer_div()305 ledc_timer_set(speed_mode, timer_num, div_param, duty_resolution, timer_clk_src); in ledc_set_timer_div()311 (uint32_t ) div_param); in ledc_set_timer_div()
179 …ency and duty resolution cannot be achieved, try reducing freq_hz or duty_resolution. div_param=128187 … duty resolution cannot be achieved, try increasing freq_hz or duty_resolution. div_param=128000000