Searched refs:pulse_usec (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-2.7.6/drivers/led/ |
D | led_pwm.c | 42 uint32_t period_usec, pulse_usec; in led_pwm_blink() local 54 u32_mul_overflow(delay_on, 1000, &pulse_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/ |
D | test_pwm_loopback.c | 226 static const uint32_t pulse_usec = 7500; in test_continuous_capture() local 245 err = pwm_pin_set_usec(out.dev, out.pwm, period_usec, pulse_usec, in test_continuous_capture() 284 zassert_within(usec, pulse_usec, pulse_usec / 100, in test_continuous_capture()
|