Home
last modified time | relevance | path

Searched refs:timer_clk_hz (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_mc_esp32.c120 uint32_t timer_clk_hz = data->mcpwm_clk_hz / config->prescale / channel->prescale; in mcpwm_esp32_duty_set() local
122 set_duty = (timer_clk_hz / channel->freq) * channel->duty / 100; in mcpwm_esp32_duty_set()
197 uint32_t timer_clk_hz = data->mcpwm_clk_hz / config->prescale / channel->prescale; in mcpwm_esp32_timer_set() local
199 mcpwm_ll_timer_set_peak(data->hal.dev, channel->timer_id, timer_clk_hz / channel->freq, in mcpwm_esp32_timer_set()