Home
last modified time | relevance | path

Searched refs:PWM_DT_SPEC_GET (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/samples/basic/rgb_led/src/
Dmain.c17 PWM_DT_SPEC_GET(DT_ALIAS(red_pwm_led));
19 PWM_DT_SPEC_GET(DT_ALIAS(green_pwm_led));
21 PWM_DT_SPEC_GET(DT_ALIAS(blue_pwm_led));
/Zephyr-latest/samples/basic/servo_motor/src/
Dmain.c16 static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
/Zephyr-latest/samples/basic/blinky_pwm/src/
Dmain.c17 static const struct pwm_dt_spec pwm_led0 = PWM_DT_SPEC_GET(DT_ALIAS(pwm_led0));
/Zephyr-latest/samples/basic/fade_led/src/
Dmain.c19 #define PWM_LED(i, _) IF_ENABLED(PWM_LED_IS_OKAY(i), (PWM_DT_SPEC_GET(PWM_LED_ALIAS(i)),))
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/
Dmain.c22 static const struct pwm_dt_spec pwm = PWM_DT_SPEC_GET(DT_PATH(zephyr_user));
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c43 static const struct pwm_dt_spec pwm_ctl = PWM_DT_SPEC_GET(PORT1_PWM_CTL_NODE);
/Zephyr-latest/drivers/led/
Dled_pwm.c137 DT_INST_FOREACH_CHILD_SEP(id, PWM_DT_SPEC_GET, (,)) \
/Zephyr-latest/include/zephyr/drivers/
Dpwm.h328 #define PWM_DT_SPEC_GET(node_id) PWM_DT_SPEC_GET_BY_IDX(node_id, 0) macro
340 #define PWM_DT_SPEC_INST_GET(inst) PWM_DT_SPEC_GET(DT_DRV_INST(inst))
/Zephyr-latest/samples/boards/bbc/microbit/pong/src/
Dmain.c112 static const struct pwm_dt_spec pwm = PWM_DT_SPEC_GET(DT_PATH(zephyr_user));
/Zephyr-latest/doc/releases/
Drelease-notes-3.1.rst554 :c:macro:`PWM_DT_SPEC_GET` or :c:func:`pwm_set_dt`. This addition makes it