Searched refs:pwm_set (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/pwm/ |
D | pwm_shell.c | 88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec() 120 err = pwm_set(dev, channel, period, pulse, flags); in cmd_nsec()
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 132 pwm_set(pwm, BUZZER_PWM_CHANNEL, PWM_USEC(period), in board_play_tune() 139 pwm_set(pwm, BUZZER_PWM_CHANNEL, 0, 0, 0); in board_play_tune()
|
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 53 err = pwm_set(out.dev, out.pwm, period, pulse, out.flags ^= in test_capture() 60 err = pwm_set(out.dev, out.pwm, PWM_USEC(period), in test_capture() 237 err = pwm_set(out.dev, out.pwm, PWM_USEC(TEST_PWM_PERIOD_USEC), in ZTEST()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | pwm.h | 537 static inline int pwm_set(const struct device *dev, uint32_t channel, in pwm_set() function 586 return pwm_set(spec->dev, spec->channel, period, pulse, spec->flags); in pwm_set_dt() 607 return pwm_set(spec->dev, spec->channel, spec->period, pulse, in pwm_set_pulse_dt()
|
/Zephyr-latest/tests/drivers/pwm/pwm_api/src/ |
D | test_pwm.c | 142 if (pwm_set(pwm_dev, port, period, pulse, 0)) { in test_task()
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.1.rst | 562 In particular, this means that the :c:func:`pwm_set` and
|