Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/led/
Dled_pwm.c42 uint32_t period_usec, pulse_usec; in led_pwm_blink() local
52 if (u32_add_overflow(delay_on, delay_off, &period_usec) || in led_pwm_blink()
53 u32_mul_overflow(period_usec, 1000, &period_usec) || in led_pwm_blink()
61 period_usec, pulse_usec, led_pwm->flags); in led_pwm_blink()
/Zephyr-Core-2.7.6/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c225 static const uint32_t period_usec = 10000; in test_continuous_capture() local
245 err = pwm_pin_set_usec(out.dev, out.pwm, period_usec, pulse_usec, in test_continuous_capture()
272 err = k_sem_take(&data.sem, K_USEC(period_usec * data.buffer_len * 10)); in test_continuous_capture()
287 zassert_within(usec, period_usec, period_usec / 100, in test_continuous_capture()