Home
last modified time | relevance | path

Searched +full:pulse +full:- +full:width (Results 1 – 25 of 127) sorted by relevance

123456

/Zephyr-latest/samples/basic/servo_motor/dts/bindings/
Dpwm-servo.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: PWM-driven servo motor.
6 compatible: "pwm-servo"
13 type: phandle-array
16 min-pulse:
19 description: Minimum pulse width (nanoseconds).
21 max-pulse:
24 description: Maximum pulse width (nanoseconds).
/Zephyr-latest/include/zephyr/drivers/
Dpwm.h3 * Copyright (c) 2020-2021 Vestas Wind Systems A/S
5 * SPDX-License-Identifier: Apache-2.0
34 #include <zephyr/dt-bindings/pwm/pwm.h>
57 /** PWM pin capture captures pulse width. */
60 /** PWM pin capture captures both period and pulse width. */
64 /** PWM pin capture captures a single period/pulse width. */
67 /** PWM pin capture captures period/pulse width continuously. */
121 * pwm-names = "alpha", "beta";
146 * @param name Lowercase-and-underscores name of a pwms element as defined by
147 * the node's pwm-names property.
[all …]
/Zephyr-latest/samples/basic/fade_led/
Dsample.yaml6 - drivers
7 - pwm
9 filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
11 - nrf51dk/nrf51822
17 - "PWM-based LED fade"
18 - "Using pulse width [0-9]+%"
19 - "Using pulse width [0-9]+%"
/Zephyr-latest/dts/bindings/gnss/
Dgnss-pps.yaml2 # SPDX-License-Identifier: Apache-2.0
5 pps-mode:
10 - GNSS_PPS_MODE_DISABLED: Output disabled
11 - GNSS_PPS_MODE_ENABLED: Output always enabled
12 - GNSS_PPS_MODE_ENABLED_AFTER_LOCK: Output enabled from first lock
13 - GNSS_PPS_MODE_ENABLED_WHILE_LOCKED: Output enabled only while locked
15 - GNSS_PPS_MODE_DISABLED
16 - GNSS_PPS_MODE_ENABLED
17 - GNSS_PPS_MODE_ENABLED_AFTER_LOCK
18 - GNSS_PPS_MODE_ENABLED_WHILE_LOCKED
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_shell.c4 * SPDX-License-Identifier: Apache-2.0
20 uint8_t pulse; member
28 .pulse = 4,
37 uint32_t pulse; in cmd_cycles() local
44 return -EINVAL; in cmd_cycles()
49 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_cycles()
55 err = pwm_set_cycles(dev, channel, period, pulse, flags); in cmd_cycles()
70 uint32_t pulse; in cmd_usec() local
77 return -EINVAL; in cmd_usec()
82 pulse = strtoul(argv[args_indx.pulse], NULL, 0); in cmd_usec()
[all …]
Dpwm_mcux_pwt.c5 * SPDX-License-Identifier: Apache-2.0
51 const struct mcux_pwt_config *config = dev->config; in mcux_pwt_is_active()
53 return !!(config->base->CS & PWT_CS_PWTEN_MASK); in mcux_pwt_is_active()
68 return -ENOTSUP; in mcux_pwt_set_cycles()
76 const struct mcux_pwt_config *config = dev->config; in mcux_pwt_configure_capture()
77 struct mcux_pwt_data *data = dev->data; in mcux_pwt_configure_capture()
81 return -EINVAL; in mcux_pwt_configure_capture()
86 return -EBUSY; in mcux_pwt_configure_capture()
91 LOG_ERR("Cannot capture both period and pulse width"); in mcux_pwt_configure_capture()
92 return -ENOTSUP; in mcux_pwt_configure_capture()
[all …]
DKconfig.mcux_pwt2 # SPDX-License-Identifier: Apache-2.0
13 Enable the MCUX Pulse Width Timer (PWT) PWM capture driver.
DKconfig4 # SPDX-License-Identifier: Apache-2.0
7 bool "Pulse Width Modulation (PWM) drivers"
14 module-str = pwm
33 period/pulse widths.
/Zephyr-latest/tests/drivers/pwm/pwm_api/src/
Dtest_pwm.c4 * SPDX-License-Identifier: Apache-2.0
13 * - Test Steps
14 * -# Bind PWM_0 port 0.
15 * -# Set PWM period and pulse using pwm_set_cycles() or pwm_set().
16 * -# Use multimeter or other instruments to measure the output
18 * - Expected Results
19 * -# The output of PWM_OUT_0 will differ according to the value
20 * of period and pulse.
21 * Always on -> Period : Pulse (1 : 1) -> 3.3V
22 * Half on -> Period : Pulse (2 : 1) -> 1.65V
[all …]
/Zephyr-latest/samples/basic/fade_led/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
9 * @file Sample app to demonstrate PWM-based LED fade
29 printk("PWM-based LED fade\n"); in main()
33 pwm_led0.dev->name); in main()
40 printk("Error %d: failed to set pulse width\n", ret); in main()
43 printk("Using pulse width %d%%\n", 100 * pulse_width / pwm_led0.period); in main()
48 pulse_width = pwm_led0.period - step; in main()
53 pulse_width -= step; in main()
/Zephyr-latest/dts/bindings/counter/
Dnxp,lptmr.yaml2 # SPDX-License-Identifier: Apache-2.0
14 clock-frequency:
22 clk-source:
29 In pulse counter mode, this field selects the input clock to the glitch filter.
33 input-pin:
36 When LPTMR is in Pulse mode, this value
37 will be used to determine the "rising-edge
40 active-low:
43 When LPTMR is in Pulse mode, this value
49 description: Represents the width of the counter in bits.
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dnxp,fxos8700-common.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: FXOS8700 6-axis accelerometer/magnetometer sensor
6 include: sensor-device.yaml
9 reset-gpios:
10 type: phandle-array
17 int1-gpios:
18 type: phandle-array
25 int2-gpios:
26 type: phandle-array
38 - 8 # 8g (0.976 mg/LSB)
[all …]
/Zephyr-latest/dts/bindings/misc/
Dnxp,s32-lcu.yaml2 # SPDX-License-Identifier: Apache-2.0
6 LCU selects multiple inputs from timers, Pulse Width Modulation
10 compatible: "nxp,s32-lcu"
/Zephyr-latest/dts/bindings/pwm/
Dene,kb1200-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ENE, Pulse Width Modulator (PWM) node
6 compatible: "ene,kb1200-pwm"
8 include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
14 pinctrl-0:
17 pinctrl-names:
20 pwm-cells:
21 - channel
22 - period
23 - flags
Drenesas,ra-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Renesas RA Pulse Width Modulation
6 compatible: "renesas,ra-pwm"
8 include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
25 interrupt-names:
28 "#pwm-cells":
31 pwm-cells:
32 - channel
33 - period
34 - flags
Dnuvoton,npcx-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Nuvoton, NPCX Pulse Width Modulator (PWM) node
6 compatible: "nuvoton,npcx-pwm"
8 include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
15 pinctrl-0:
17 pinctrl-names:
19 pwm-channel:
23 Please don't overwrite it in the board-level DT driver.
24 clock-bus:
30 - NPCX_CLOCK_BUS_APB2
[all …]
Dite,it8xxx2-pwm.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ITE, it8xxx2 Pulse Width Modulator (PWM) node
6 compatible: "ite,it8xxx2-pwm"
8 include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
18 - 0
19 - 1
20 - 2
21 - 3
22 - 4
23 - 5
[all …]
/Zephyr-latest/drivers/watchdog/
Dwdt_dw.h1 /* SPDX-License-Identifier: Apache-2.0 */
19 * and programmed based on user-defined options.
62 * Reset pulse length
116 * bits WDT_CNT_WIDTH - 1 to 0
190 * The Watchdog Timer counter width.
209 * The reset pulse length that is available directly after reset.
214 * Width of the APB Data Bus to which this component is attached.
219 * APB data width is 8 bits
224 * APB data width is 16 bits
229 * APB data width is 32 bits
[all …]
/Zephyr-latest/tests/drivers/pwm/pwm_loopback/dts/bindings/
Dtest-pwm-loopback.yaml2 # Copyright (c) 2020-2021 Vestas Wind Systems A/S
4 # SPDX-License-Identifier: Apache-2.0
11 compatible: "test-pwm-loopback"
15 type: phandle-array
18 PWM pins that will be used for generating and capturing a pulse-width
/Zephyr-latest/dts/bindings/display/panel/
Dpanel-timing.yaml2 # SPDX-License-Identifier: Apache-2.0
9 a panel under display-timings node. For example:
12 display-timings {
13 compatible = "zephyr,panel-timing";
14 hsync-len = <8>;
15 hfront-porch = <32>;
16 hback-porch = <32>;
17 vsync-len = <2>;
18 vfront-porch = <16>;
19 vback-porch = <14>;
[all …]
/Zephyr-latest/dts/bindings/led_strip/
Dws2812.yaml4 # SPDX-License-Identifier: Apache-2.0
13 https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/
15 A 0 bit's pulse width is between 200 and 500 ns. A 1 bit's is
19 MOSI line. Use the worldsemi,ws2812-spi.yaml or
20 worldsemi,ws2812-gpio.yaml bindings instead of this file after
26 For the control signal (waveform) each bit is described with a 1.2 us pulse:
31 There is a +/- 80 ns tolerance for each timing.
33 The latch/reset delay is 250 us and it must be set using the reset-delay
35 using the color-mapping property.
37 include: led-strip.yaml
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_otm8009a.h5 * SPDX-License-Identifier: Apache-2.0
21 /** Reset pulse time (ms), ref. Table 6.3.4.1 */
23 /** Wake up time after reset pulse, ref. Table 6.3.4.1 */
35 /** Horizontal low pulse width */
41 /** Vertical low pulse width. */
169 /** Gamma Correction 2.2- Setting */
/Zephyr-latest/soc/ene/kb1200/reg/
Dpwm.h4 * SPDX-License-Identifier: Apache-2.0
11 * Structure type to access Pulse Width Modulation (PWM).
/Zephyr-latest/dts/bindings/flash_controller/
Dst,stm32-qspi-nor.yaml2 # SPDX-License-Identifier: Apache-2.0
9 mx25r6435f: qspi-nor-flash@90000000 {
10 compatible = "st,stm32-qspi-nor";
12 qspi-max-frequency = <80000000>;
13 reset-gpios = <&gpiod 3 GPIO_ACTIVE_LOW>;
14 reset-gpios-duration = <1>;
15 spi-bus-width = <4>;
19 compatible: "st,stm32-qspi-nor"
21 include: ["flash-controller.yaml", "jedec,jesd216.yaml"]
23 on-bus: qspi
[all …]
/Zephyr-latest/dts/bindings/display/
Dnordic,nrf-led-matrix.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nordic,nrf-led-matrix"
8 include: display-controller.yaml
11 row-gpios:
12 type: phandle-array
17 col-gpios:
18 type: phandle-array
23 pixel-mapping:
24 type: uint8-array
34 width = <5>;
[all …]

123456