Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_sifive.c114 uint32_t count_max = 0U; in pwm_sifive_set_cycles() local
135 count_max = (1 << (config->cmpwidth + SF_PWMCOUNT_MIN_WIDTH)) - 1; in pwm_sifive_set_cycles()
137 if (period_cycles > count_max) { in pwm_sifive_set_cycles()
139 period_cycles, count_max); in pwm_sifive_set_cycles()