Lines Matching +full:duty +full:- +full:cycle
2 # SPDX-License-Identifier: Apache-2.0
7 The PWM CCU8 module can automatically generate a high-side
8 and a low-side PWM signal, where the two signals are complementary
11 The module supports adding a dead time between the high-side and
12 low-side PWM signals.
15 transitions from 0 to 1, preventing the high-side and low-side
20 two channels. A channel consists of a corresponding high-side
21 and low-side PWM signal.
25 defined by the 'slice-prescaler' property. Additionally, each
38 slice-prescaler = <15 15 15 15>;
39 slice-deadtime-prescaler = <3 3 3 3>;
40 channel-deadtime-high = <0 0 0 0 PWM_MSEC(100) 0 0 0>;
41 channel-deadtime-low = <0 0 0 0 PWM_MSEC(100) 0 0 0>;
42 pinctrl-0 = <&pwm_out_p5_9_ccu80_ch4_high &pwm_out_p0_0_ccu80_ch4_low>;
43 pinctrl-names = "default";
60 'HIGH_LOW' indicates whether the pin is for the high or low-side signal.
62 It's not necessary to specify both the high and low pinctrls. Only the low-side
63 signal can, for example, be used as PWM, but note that the duty cycle of the
64 low signal will be (1 - duty) as set via the API.
68 duty cycle and high/low dead times. But the pulse duration applies to
73 compatible: "infineon,xmc4xxx-ccu8-pwm"
76 - name: base.yaml
77 - name: pwm-controller.yaml
78 - name: pinctrl-device.yaml
84 pinctrl-0:
87 pinctrl-names:
90 slice-prescaler:
99 slice-deadtime-prescaler:
108 channel-deadtime-high:
112 Defines the dead time in nanoseconds for the high-side PWM signal for each channel.
114 channel-deadtime-low:
118 Defines the dead time in nanoseconds for the low-side PWM signal for each channel.
120 "#pwm-cells":
123 pwm-cells:
124 - channel
125 - period
126 - flags