Searched refs:PWM_USEC (Results 1 – 20 of 20) sorted by relevance
/Zephyr-latest/samples/basic/servo_motor/boards/ |
D | bbc_microbit.overlay | 6 min-pulse = <PWM_USEC(700)>; 7 max-pulse = <PWM_USEC(2500)>;
|
D | rddrone_fmuk66.overlay | 11 min-pulse = <PWM_USEC(700)>; 12 max-pulse = <PWM_USEC(2500)>;
|
D | mimxrt1062_fmurt6.overlay | 14 min-pulse = <PWM_USEC(700)>; 15 max-pulse = <PWM_USEC(2500)>;
|
/Zephyr-latest/include/zephyr/dt-bindings/pwm/ |
D | pwm.h | 26 #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/ |
D | main.c | 15 #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/ |
D | stm32f4_disco.dts | 58 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/ |
D | bbc_microbit_v2.overlay | 4 pwms = <&pwm1 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>;
|
D | bbc_microbit.overlay | 4 pwms = <&sw_pwm 0 PWM_USEC(1500) PWM_POLARITY_NORMAL>;
|
/Zephyr-latest/drivers/led/ |
D | led_pwm.c | 52 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/ |
D | main.c | 20 #define STEP PWM_USEC(100)
|
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/src/ |
D | test_pwm_loopback.c | 60 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/ |
D | main.c | 23 #define STEP_SIZE PWM_USEC(2000)
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_shell.c | 88 err = pwm_set(dev, channel, PWM_USEC(period), PWM_USEC(pulse), flags); in cmd_usec()
|
/Zephyr-latest/samples/basic/servo_motor/ |
D | README.rst | 34 min-pulse = <PWM_USEC(700)>; 35 max-pulse = <PWM_USEC(2500)>;
|
/Zephyr-latest/samples/bluetooth/mesh_demo/src/ |
D | microbit.c | 132 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/ |
D | stm32g081b_eval.overlay | 18 pwms = <&pwm15 1 PWM_USEC(50) PWM_POLARITY_INVERTED>;
|
/Zephyr-latest/samples/drivers/led/pwm/boards/ |
D | mec15xxevb_assy6853.overlay | 21 /* PWM_SEC(1) PWM_USEC(7812) */
|
D | mec172xevb_assy6906.overlay | 23 /* PWM_SEC(1) PWM_USEC(7812) */
|
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
D | main.c | 109 #define SOUND_PERIOD_PADDLE PWM_USEC(200) 110 #define SOUND_PERIOD_WALL PWM_USEC(1000)
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.1.rst | 141 ``PWM_USEC()`` macros, which convert other units to nanoseconds.
|