Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c43 uint64_t period_capture = 0; in test_capture() local
74 err = pwm_capture_nsec(in.dev, in.pwm, flags, &period_capture, in test_capture()
79 err = pwm_capture_usec(in.dev, in.pwm, flags, &period_capture, in test_capture()
98 zassert_within(period_capture, period, period / 100, in test_capture()
/Zephyr-latest/drivers/pwm/
Dpwm_nxp_s32_emios.c43 bool period_capture; member
290 data->capture[channel].period_capture = (flags & PWM_CAPTURE_TYPE_PERIOD); in pwm_nxp_s32_capture_configure()
328 if (data->capture[channel].period_capture && !data->capture[channel].pulse_capture) { in pwm_nxp_s32_capture_enable()
490 if (data->capture[channel].period_capture && !data->capture[channel].pulse_capture) { in pwm_nxp_s32_capture_callback()
501 if (data->capture[channel].period_capture) { in pwm_nxp_s32_capture_callback()