Home
last modified time | relevance | path

Searched refs:PWM_USEC (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/samples/basic/servo_motor/boards/
Dbbc_microbit.overlay6 min-pulse = <PWM_USEC(700)>;
7 max-pulse = <PWM_USEC(2500)>;
Drddrone_fmuk66.overlay11 min-pulse = <PWM_USEC(700)>;
12 max-pulse = <PWM_USEC(2500)>;
Dmimxrt1062_fmurt6.overlay14 min-pulse = <PWM_USEC(700)>;
15 max-pulse = <PWM_USEC(2500)>;
/Zephyr-latest/include/zephyr/dt-bindings/pwm/
Dpwm.h26 #define PWM_USEC(x) (PWM_NSEC(x) * 1000UL) macro
28 #define PWM_MSEC(x) (PWM_USEC(x) * 1000UL)
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/
Dmain.c15 #define PERIOD_MIN PWM_USEC(50)
16 #define PERIOD_MAX PWM_USEC(3900)
65 period += PWM_USEC(50U); in button_pressed()
70 period -= PWM_USEC(50U); in button_pressed()
/Zephyr-latest/boards/st/stm32f4_disco/
Dstm32f4_disco.dts58 pwms = <&pwm4 2 PWM_USEC(100) PWM_POLARITY_NORMAL>;
62 pwms = <&pwm4 1 PWM_USEC(100) PWM_POLARITY_NORMAL>;
66 pwms = <&pwm4 3 PWM_USEC(100) PWM_POLARITY_NORMAL>;
70 pwms = <&pwm4 4 PWM_USEC(100) PWM_POLARITY_NORMAL>;
/Zephyr-latest/samples/boards/bbc/microbit/sound/boards/
Dbbc_microbit_v2.overlay4 pwms = <&pwm1 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>;
Dbbc_microbit.overlay4 pwms = <&sw_pwm 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>;
/Zephyr-latest/drivers/led/
Dled_pwm.c52 return pwm_set_dt(dt_led, PWM_USEC(period_usec), PWM_USEC(pulse_usec)); in led_pwm_blink()
/Zephyr-latest/samples/basic/servo_motor/src/
Dmain.c20 #define STEP PWM_USEC(100)
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/
Dtest_pwm_loopback.c60 err = pwm_set(out.dev, out.pwm, PWM_USEC(period), in test_capture()
61 PWM_USEC(pulse), out.flags ^= in test_capture()
237 err = pwm_set(out.dev, out.pwm, PWM_USEC(TEST_PWM_PERIOD_USEC), in ZTEST()
238 PWM_USEC(TEST_PWM_PULSE_USEC), out.flags); in ZTEST()
/Zephyr-latest/samples/basic/rgb_led/src/
Dmain.c23 #define STEP_SIZE PWM_USEC(2000)
/Zephyr-latest/drivers/pwm/
Dpwm_shell.c88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec()
/Zephyr-latest/samples/basic/servo_motor/
DREADME.rst34 min-pulse = <PWM_USEC(700)>;
35 max-pulse = <PWM_USEC(2500)>;
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmicrobit.c132 pwm_set(pwm, BUZZER_PWM_CHANNEL, PWM_USEC(period), in board_play_tune()
133 PWM_USEC(period) / 2U, 0); in board_play_tune()
/Zephyr-latest/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay18 pwms = <&pwm15 1 PWM_USEC(50) PWM_POLARITY_INVERTED>;
/Zephyr-latest/samples/drivers/led/pwm/boards/
Dmec15xxevb_assy6853.overlay21 /* PWM_SEC(1) PWM_USEC(7812) */
Dmec172xevb_assy6906.overlay23 /* PWM_SEC(1) PWM_USEC(7812) */
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c109 #define SOUND_PERIOD_PADDLE PWM_USEC(200)
110 #define SOUND_PERIOD_WALL PWM_USEC(1000)
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst141 ``PWM_USEC()`` macros, which convert other units to nanoseconds.