Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_stm32.c461 bool is_inverted = (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED; in init_capture_channels() local
470 ic.ICPolarity = is_inverted ? LL_TIM_IC_POLARITY_FALLING : LL_TIM_IC_POLARITY_RISING; in init_capture_channels()
479 ic.ICPolarity = is_inverted ? LL_TIM_IC_POLARITY_RISING : LL_TIM_IC_POLARITY_FALLING; in init_capture_channels()