Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_b91.c28 uint32_t pwm_clk_div = 0; in pwm_b91_init() local
31 pwm_clk_div = sys_clk.pclk * 1000 * 1000 / config->clock_frequency - 1; in pwm_b91_init()
32 if (pwm_clk_div > 255) { in pwm_b91_init()
37 pwm_set_clk((unsigned char) (pwm_clk_div & 0xFF)); in pwm_b91_init()