Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c44 uint64_t pulse_capture = 0; in test_capture() local
75 &pulse_capture, K_NSEC(period * 10)); in test_capture()
80 &pulse_capture, K_USEC(period * 10)); in test_capture()
103 zassert_within(pulse_capture, pulse, pulse / 100, in test_capture()
205 if (data->pulse_capture) { in continuous_capture_callback()
226 .pulse_capture = true, in ZTEST()
256 data.pulse_capture = false; in ZTEST()
273 if (data.pulse_capture) { in ZTEST()
292 .pulse_capture = true, in ZTEST()
316 data.pulse_capture = false; in ZTEST()
Dtest_pwm_loopback.h45 bool pulse_capture; member
/Zephyr-latest/drivers/pwm/
Dpwm_mcux_ftm.c51 bool pulse_capture; member
193 data->capture[pair].pulse_capture = false; in mcux_ftm_configure_capture()
203 data->capture[pair].pulse_capture = true; in mcux_ftm_configure_capture()
322 if (capture->pulse_capture) { in mcux_ftm_capture_second_edge()
364 if (capture->pulse_capture) { in mcux_ftm_capture_second_edge()
375 } else if (capture->pulse_capture) { in mcux_ftm_capture_second_edge()
Dpwm_numaker.c48 bool pulse_capture; member
165 data->capture[pair].pulse_capture = false; in pwm_numaker_configure_capture()
175 data->capture[pair].pulse_capture = true; in pwm_numaker_configure_capture()
330 if (capture->pulse_capture) { in pwm_numaker_channel_cap()
Dpwm_nxp_s32_emios.c42 bool pulse_capture; member
289 data->capture[channel].pulse_capture = (flags & PWM_CAPTURE_TYPE_PULSE); 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()
494 if (data->capture[channel].pulse_capture) { in pwm_nxp_s32_capture_callback()