Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec_bbled.c43 #define XEC_PWM_BBLED_DC_MAX 254u /* 255 is full on */ macro
252 dc = ((XEC_PWM_BBLED_DC_MAX + 1) * pulse_cycles / period_cycles); in pwm_bbled_xec_set_cycles()
255 } else if (dc > XEC_PWM_BBLED_DC_MAX) { in pwm_bbled_xec_set_cycles()
256 dc = XEC_PWM_BBLED_DC_MAX; in pwm_bbled_xec_set_cycles()