Searched refs:pwm_dt_spec (Results 1 – 15 of 15) sorted by relevance
| /Zephyr-latest/drivers/led/ |
| D | led_pwm.c | 26 const struct pwm_dt_spec *led; 33 const struct pwm_dt_spec *dt_led; in led_pwm_blink() 59 const struct pwm_dt_spec *dt_led; in led_pwm_set_brightness() 93 const struct pwm_dt_spec *led = &config->led[i]; in led_pwm_init() 113 const struct pwm_dt_spec *led = &config->led[i]; in led_pwm_pm_action() 136 static const struct pwm_dt_spec led_pwm_##id[] = { \
|
| /Zephyr-latest/samples/basic/rgb_led/src/ |
| D | main.c | 16 static const struct pwm_dt_spec red_pwm_led = 18 static const struct pwm_dt_spec green_pwm_led = 20 static const struct pwm_dt_spec blue_pwm_led =
|
| /Zephyr-latest/drivers/clock_control/ |
| D | clock_control_pwm.c | 28 const struct pwm_dt_spec pwm_dt; 41 const struct pwm_dt_spec *spec; in clock_control_pwm_on()
|
| /Zephyr-latest/samples/basic/servo_motor/src/ |
| D | main.c | 16 static const struct pwm_dt_spec servo = PWM_DT_SPEC_GET(DT_NODELABEL(servo));
|
| /Zephyr-latest/samples/basic/blinky_pwm/src/ |
| D | main.c | 17 static const struct pwm_dt_spec pwm_led0 = PWM_DT_SPEC_GET(DT_ALIAS(pwm_led0));
|
| /Zephyr-latest/tests/drivers/pwm/pwm_gpio_loopback/src/ |
| D | main.c | 39 static const struct pwm_dt_spec pwms_dt[] = TEST_PWM_CONFIG_ARRAY(DT_PATH(zephyr_user)); 123 static int check_timing(const struct pwm_dt_spec *pwm_dt, const struct gpio_dt_spec *gpio_dt, in check_timing() 191 static void test_run(const struct pwm_dt_spec *pwm_dt, const struct gpio_dt_spec *gpio_dt, in test_run()
|
| /Zephyr-latest/include/zephyr/drivers/ |
| D | pwm.h | 98 struct pwm_dt_spec { struct 583 static inline int pwm_set_dt(const struct pwm_dt_spec *spec, uint32_t period, in pwm_set_dt() 604 static inline int pwm_set_pulse_dt(const struct pwm_dt_spec *spec, in pwm_set_pulse_dt() 938 static inline bool pwm_is_ready_dt(const struct pwm_dt_spec *spec) in pwm_is_ready_dt()
|
| /Zephyr-latest/samples/basic/fade_led/src/ |
| D | main.c | 22 static const struct pwm_dt_spec pwm_leds[] = {LISTIFY(MAX_LEDS, PWM_LED, ())};
|
| /Zephyr-latest/samples/boards/bbc/microbit/sound/src/ |
| D | main.c | 22 static const struct pwm_dt_spec pwm = PWM_DT_SPEC_GET(DT_PATH(zephyr_user));
|
| /Zephyr-latest/samples/subsys/usb_c/source/src/ |
| D | power_ctrl.c | 43 static const struct pwm_dt_spec pwm_ctl = PWM_DT_SPEC_GET(PORT1_PWM_CTL_NODE);
|
| /Zephyr-latest/samples/drivers/led/pwm/boards/ |
| D | mec15xxevb_assy6853.overlay | 25 /* struct pwm_dt_spec: phandle channel period(ns) flags */
|
| D | mec172xevb_assy6906.overlay | 27 /* struct pwm_dt_spec: phandle channel period(ns) flags */
|
| /Zephyr-latest/drivers/sensor/tsic_xx6/ |
| D | tsic_xx6.c | 51 const struct pwm_dt_spec pwm;
|
| /Zephyr-latest/samples/boards/bbc/microbit/pong/src/ |
| D | main.c | 112 static const struct pwm_dt_spec pwm = PWM_DT_SPEC_GET(DT_PATH(zephyr_user));
|
| /Zephyr-latest/doc/releases/ |
| D | release-notes-3.1.rst | 553 * Added :c:struct:`pwm_dt_spec` and associated helpers, e.g.
|