Searched refs:PWM_POLARITY_MASK (Results 1 – 9 of 9) sorted by relevance
53 #define PWM_POLARITY_MASK 0x1 macro
58 pwm_cfg.pol = (flags & PWM_POLARITY_MASK) ? 1 : 0; in api_set_cycles()60 pwm_cfg.pol = (flags & PWM_POLARITY_MASK) ? 0 : 1; in api_set_cycles()
70 if ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_NORMAL) { in sam_pwm_set_cycles()
96 ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_NORMAL)) { in mcux_pwt_configure_capture()110 (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED; in mcux_pwt_configure_capture()
116 if ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED) { in ifx_cat1_pwm_set_cycles()
141 (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED); in pwm_rpi_set_cycles()
191 if ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_NORMAL) { in get_polarity()461 bool is_inverted = (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED; in init_capture_channels()
179 if ((flags & PWM_POLARITY_MASK) == pwm_info->OutputPolarity) { in pwm_nxp_s32_set_cycles()288 data->capture[channel].inverted = (flags & PWM_POLARITY_MASK); in pwm_nxp_s32_capture_configure()
54 (flags & PWM_POLARITY_MASK)); in test_capture()62 (flags & PWM_POLARITY_MASK)); in test_capture()