Searched refs:PWM_STEPS (Results 1 – 1 of 1) sorted by relevance
42 #define PWM_STEPS 4096 macro49 #define PWM_PERIOD_COUNT_PS(pre_scale) (PWM_STEPS * (pre_scale + 1))183 pre_scale = DIV_ROUND_UP((int64_t)period_count, PWM_STEPS) - 1; in pca9685_set_cycles()205 led_off_count = DIV_ROUND_UP(pulse_count * PWM_STEPS, period_count); in pca9685_set_cycles()210 } else if (led_off_count < PWM_STEPS) { in pca9685_set_cycles()