Lines Matching full:pwm
5 TI SimpleLink CC13xx/CC26xx GPT timer PWM Controller Node
7 To configure a PWM node, you first need to define a board overlay with a
8 pinctrl configuration for the pin on which the PWM signal should be present:
19 following port events must be used for PWM:
27 output and actively driven by the PWM driver.
29 Then enable the corresponding timer and PWM nodes and add a reference to the
42 Now you can programmatically enable the PWM signal in your code:
44 static const struct device *pwm = DEVICE_DT_GET(DT_NODELABEL(pwm0));
52 if (!device_is_ready(pwm)) {
53 LOG_ERR("Error: PWM device %s is not ready\n", pwm->name);
60 return pwm_set(pwm, 0, pwm_period_ns, pwm_pulse_ns, 0);
63 compatible: "ti,cc13xx-cc26xx-timer-pwm"
65 include: [base.yaml, pwm-controller.yaml, pinctrl-device.yaml]
71 pwm-cells: