Home
last modified time | relevance | path

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

/Zephyr-latest/include/zephyr/dt-bindings/pwm/
Dpwm.h53 #define PWM_POLARITY_MASK 0x1 macro
/Zephyr-latest/drivers/pwm/
Dpwm_max32.c58 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()
Dpwm_sam.c70 if ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_NORMAL) { in sam_pwm_set_cycles()
Dpwm_mcux_pwt.c96 ((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()
Dpwm_ifx_cat1.c116 if ((flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED) { in ifx_cat1_pwm_set_cycles()
Dpwm_rpi_pico.c141 (flags & PWM_POLARITY_MASK) == PWM_POLARITY_INVERTED); in pwm_rpi_set_cycles()
Dpwm_stm32.c191 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()
Dpwm_nxp_s32_emios.c179 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()
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c54 (flags & PWM_POLARITY_MASK)); in test_capture()
62 (flags & PWM_POLARITY_MASK)); in test_capture()