Searched refs:is_inverted (Results 1 – 1 of 1) sorted by relevance
461 bool is_inverted = (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED; in init_capture_channels() local470 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()