Lines Matching +full:channel +full:- +full:deadtime +full:- +full:low

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
32 channel number, pulse period (in nanoseconds or set using
33 PWM_XX() macros), and a channel
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";
46 This will configure channel 4 with a 100msec deadtime on the high
47 and low side PWM signals.
58 refer to a specific 'pwm_ccu8x' module and channel, respectively.
59 'PORT/PIN' defines the GPIO that the channel connects to.
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
64 low signal will be (1 - duty) as set via the API.
67 channels 2/3 are in slice 1, and so on. Each channel can have its own
68 duty cycle and high/low dead times. But the pulse duration applies to
70 on a channel 0, it will also be updated for channel 1 since they are
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