Searched refs:TEST_PWM_PERIOD_USEC (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 15 #define TEST_PWM_PERIOD_USEC 100000 macro 113 test_capture(TEST_PWM_PERIOD_USEC, TEST_PWM_PULSE_USEC, in ZTEST_USER() 123 test_capture(TEST_PWM_PERIOD_USEC, TEST_PWM_PULSE_USEC, in ZTEST_USER() 133 test_capture(TEST_PWM_PERIOD_USEC, TEST_PWM_PULSE_USEC, in ZTEST_USER() 143 test_capture(TEST_PWM_PERIOD_USEC, TEST_PWM_PULSE_USEC, in ZTEST_USER() 153 test_capture(TEST_PWM_PERIOD_USEC, TEST_PWM_PULSE_USEC, in ZTEST_USER() 237 err = pwm_set(out.dev, out.pwm, PWM_USEC(TEST_PWM_PERIOD_USEC), in ZTEST() 262 err = k_sem_take(&data.sem, K_USEC(TEST_PWM_PERIOD_USEC * data.buffer_len * 10)); in ZTEST() 277 zassert_within(usec, TEST_PWM_PERIOD_USEC, TEST_PWM_PERIOD_USEC / 100, in ZTEST()
|