Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_intel_blinky.c23 #define PWM_DUTY_MAX 0x100 macro
57 duty = (pulse_cycles * PWM_DUTY_MAX) / period_cycles; in bk_intel_set_cycles()
60 val = PWM_DUTY_MAX - duty; in bk_intel_set_cycles()
63 val = PWM_DUTY_MAX - 1; in bk_intel_set_cycles()
73 if (duty > PWM_DUTY_MAX) { in bk_intel_set_cycles()