Searched refs:pwm_clk_div (Results 1 – 1 of 1) sorted by relevance
28 uint32_t pwm_clk_div = 0; in pwm_b91_init() local31 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()