Searched +full:pwm +full:- +full:on +full:- +full:delay (Results 1 – 25 of 40) sorted by relevance
12
/Zephyr-latest/samples/drivers/led/pwm/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 5 int "Blinking delay for short cycle demo" 8 Specifies the LED on/off delay in milliseconds for short cycle 10 If set to 0, the short-cycle blinking demo will not be performed. 13 int "Blinking delay for long cycle demo" 16 Specifies the LED on/off delay in milliseconds for long cycle 18 If set to 0, the long-cycle blinking demo will not be performed. 21 int "Delay time for fade demo" 24 Specifies the delay in milliseconds for the fade demo of the 25 PWM-LED sample. [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mchp_xec_bbled.c | 4 * SPDX-License-Identifier: Apache-2.0 14 #include <zephyr/drivers/pwm.h> 43 #define XEC_PWM_BBLED_DC_MAX 254u /* 255 is full on */ 45 /* BBLED PWM mode uses the duty cycle to set the PWM frequency: 49 * LD = Delay register, LOW_DELAY field: bits[11:0] 51 * Puse_OFF_width = (1/Fpwm) * (256 - duty_cycle) seconds 52 * where duty_cycle is an 8-bit value 0 to 255. 53 * Prescale is derived from DELAY register LOW_DELAY 12-bit field 54 * Duty cycle is derived from LIMITS register MINIMUM 8-bit field 61 * BBLED PWM mode duty cycle specified by 8-bit MIN field of the LIMITS register [all …]
|
/Zephyr-latest/dts/bindings/clock/ |
D | pwm-clock.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 An external clock signal driven by a PWM pin. 11 compatible = "pwm-clock"; 12 #clock-cells = <1>; 16 This will create a device node with a clock-controller 17 API. Internally the device node will use PWM API to start the 21 The clock frequency can be explicitly set using the clock-frequency 24 The PWM node may need to be properly configured to generate 26 for the target PWM driver. 28 compatible: "pwm-clock" [all …]
|
/Zephyr-latest/dts/bindings/led_strip/ |
D | ws2812.yaml | 4 # SPDX-License-Identifier: Apache-2.0 12 The PWM protocol is described here: 13 https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ 18 You can connect the device to either a GPIO on your SoC, or a SPI 19 MOSI line. Use the worldsemi,ws2812-spi.yaml or 20 worldsemi,ws2812-gpio.yaml bindings instead of this file after 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 34 property. The pixel order depends on the model and it can be configured 35 using the color-mapping property. [all …]
|
/Zephyr-latest/soc/nordic/nrf52/ |
D | Kconfig | 3 # Copyright (c) 2016-2023 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 42 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>; 45 Enable nRF52 series System on Chip DC/DC converter. 49 depends on SOC_NRF52840_QIAA 59 Enable nRF52 series System on Chip High Voltage DC/DC converter. 69 gpio-as-nreset; 73 bool "The instruction cache (I-Cache)" 74 depends on SOC_NRF52832 || SOC_NRF52833 || SOC_NRF52840 78 int "Anomaly 132 workaround delay (microseconds)" [all …]
|
/Zephyr-latest/boards/seeed/xiao_rp2040/ |
D | xiao_rp2040.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include "xiao_rp2040-pinctrl.dtsi" 14 #include <zephyr/dt-bindings/led/led.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> 21 zephyr,flash-controller = &ssi; 23 zephyr,shell-uart = &uart0; 24 zephyr,code-partition = &code_partition; 29 led-strip = &ws2812; 30 pwm-led0 = &pwm_led0; [all …]
|
/Zephyr-latest/dts/bindings/pwm/ |
D | infineon,xmc4xxx-ccu8-pwm.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Infineon XMC4XXX PWM Capture Compare Unit 8 (CCU8) module 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. 14 The dead time ensures that there is a delay before the PWM state 15 transitions from 0 to 1, preventing the high-side and low-side 16 switches from being on simultaneously. 20 two channels. A channel consists of a corresponding high-side [all …]
|
/Zephyr-latest/dts/bindings/regulator/ |
D | nordic,npm1300-regulator.yaml | 2 # SPDX-License-Identifier: Apache-2.0 16 compatible = "nordic,npm1300-regulator"; 33 compatible: "nordic,npm1300-regulator" 38 dvs-gpios: 39 type: phandle-array 47 The effect of the mode change is defined by the enable-gpios 50 child-binding: 52 - name: regulator.yaml 53 property-allowlist: 54 - regulator-always-on [all …]
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_pwm.c | 4 * SPDX-License-Identifier: Apache-2.0 14 #include <zephyr/drivers/pwm.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> 23 "PWM must have a higher priority than PWM clock control"); 39 struct clock_control_pwm_data *data = dev->data; in clock_control_pwm_on() 40 const struct clock_control_pwm_config *config = dev->config; in clock_control_pwm_on() 46 return -EINVAL; in clock_control_pwm_on() 49 spec = &config->pwm_dt; in clock_control_pwm_on() 50 if (data->clock_frequency == 0) { in clock_control_pwm_on() 51 ret = pwm_set_dt(spec, spec->period, spec->period / 2); in clock_control_pwm_on() [all …]
|
/Zephyr-latest/boards/innblue/innblue21/ |
D | innblue21_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 6 #include "innblue21_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 zephyr,shell-uart = &uart0; 16 zephyr,uart-mcumgr = &uart0; 20 compatible = "gpio-leds"; 41 compatible = "gpio-keys"; 50 en_3v3_sensor: enable-3v3-sensor { 51 compatible = "regulator-fixed"; 52 regulator-name = "en_3v3_sensor"; [all …]
|
/Zephyr-latest/boards/arduino/nano_33_ble/ |
D | arduino_nano_33_ble-common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 10 zephyr,shell-uart = &uart0; 11 zephyr,uart-mcumgr = &uart0; 12 zephyr,bt-mon-uart = &uart0; 13 zephyr,bt-c2h-uart = &uart0; 16 zephyr,code-partition = &code_partition; 21 compatible = "gpio-leds"; 46 compatible = "pwm-leds"; 50 label = "Red PWM LED"; 54 label = "Green PWM LED"; [all …]
|
/Zephyr-latest/boards/nxp/vmu_rt1170/ |
D | vmu_rt1170_mimxrt1176_cm7.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/led/led.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 24 pwm-led0 = &buzzer0; 25 mcuboot-button0 = &arming_button; 34 zephyr,shell-uart = &lpuart1; 36 zephyr,flash-controller = &mx25um51345g; 38 zephyr,code-partition = &slot0_partition; 39 zephyr,uart-mcumgr = &lpuart1; [all …]
|
/Zephyr-latest/dts/bindings/stepper/adi/ |
D | adi,trinamic-ramp-generator.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2 # SPDX-License-Identifier: Apache-2.0 4 description: Ramp Generator Motion Control Register-Set for Trinamic stepper controller. 78 seconds. This setting avoids excess acceleration e.g. from VSTOP to -VSTART. 84 Hold current in % of run current (0-100) 104 1..15: Delay per current reduction step in multiple of 2^18 clocks 110 This is the lower threshold velocity for switching on smart energy CoolStep and StallGuard 114 The stop on stall function (enable with sg_stop when using internal motion controller) 119 - CoolStep and stop on stall are enabled, if configured 120 - Voltage PWM mode StealthChop is switched off, if configured [all …]
|
/Zephyr-latest/boards/nxp/rddrone_fmuk66/ |
D | rddrone_fmuk66.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <zephyr/dt-bindings/pwm/pwm.h> 11 #include "rddrone_fmuk66-pinctrl.dtsi" 21 pwm-led0 = &red_pwm_led; 22 pwm-led1 = &green_pwm_led; 23 pwm-led2 = &blue_pwm_led; 25 red-pwm-led = &red_pwm_led; 26 green-pwm-led = &green_pwm_led; 27 blue-pwm-led = &blue_pwm_led; [all …]
|
/Zephyr-latest/dts/common/nordic/ |
D | nrf54h20.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/adc/nrf-saadc.h> 11 #include <zephyr/dt-bindings/misc/nordic-nrf-ficr-nrf54h20.h> 12 #include <zephyr/dt-bindings/misc/nordic-domain-id-nrf54h20.h> 13 #include <zephyr/dt-bindings/misc/nordic-owner-id-nrf54h20.h> 14 #include <zephyr/dt-bindings/misc/nordic-tddconf.h> 15 #include <zephyr/dt-bindings/reserved-memory/nordic-owned-memory.h> 16 #include <zephyr/dt-bindings/power/nordic-nrf-gpd.h> 18 /delete-node/ &sw_pwm; 21 #address-cells = <1>; [all …]
|
/Zephyr-latest/drivers/led_strip/ |
D | tlc59731.c | 4 * SPDX-License-Identifier: Apache-2.0 13 * TLC59731 is a 3-Channel, 8-Bit, PWM LED Driver 14 * With Single-Wire Interface (EasySet) 16 * The EasySet protocol is based on short pulses and the time between 19 * delays under 1us don't work very well, so we settle on 5us for the 21 * A pulse must be high for at least 14ns. In practice, turning a GPIO on 22 * and immediately off again already takes longer than that, so no delay 26 * (half a cycle) after the first one. We need at least some delay to get to 99 rgb_write_bit(led_dev, data & BIT((idx--))); in rgb_write_data() 108 const struct tlc59731_cfg *tlc_conf = dev->config; in tlc59731_led_set_color() [all …]
|
/Zephyr-latest/boards/innblue/innblue22/ |
D | innblue22_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 6 #include "innblue22_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 zephyr,shell-uart = &uart0; 16 zephyr,uart-mcumgr = &uart0; 20 compatible = "gpio-leds"; 41 compatible = "gpio-keys"; 50 en_5v0_boost: enable-5v0-boost { 51 compatible = "regulator-fixed"; 52 regulator-name = "en_5v0_boost"; [all …]
|
/Zephyr-latest/boards/seagate/legend/ |
D | legend.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f0/stm32f070cbtx-pinctrl.dtsi> 10 #include <zephyr/dt-bindings/led/led.h> 11 #include <zephyr/dt-bindings/led/seagate_legend_b1414.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 17 zephyr,shell-uart = &usart1; 24 led-strip = &led_strip_spi; 27 board_id: brd-id { 28 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/nxp/mimxrt1062_fmurt6/ |
D | mimxrt1062_fmurt6.dts | 2 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "mimxrt1062_fmurt6-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/pwm/pwm.h> 25 telem4-gps2 = &lpuart5; 29 zephyr,flash-controller = &s26ks512s0; 31 zephyr,code-partition = &slot0_partition; 32 zephyr,uart-mcumgr = &lpuart7; 37 zephyr,shell-uart = &lpuart7; 42 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.5.rst | 38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3 39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_ 41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j 42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_ 44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7 45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_ 47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4 48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_ 50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh 51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_ [all …]
|
D | release-notes-3.6.rst | 12 * New :ref:`GNSS subsystem <gnss_api>` added, enabling geo-awareness in Zephyr applications. 13 * New API and drivers introduced for interfacing with :ref:`keyboard matrices <gpio-kbd>`. 16 * Integrated Trusted Firmware-M (TF-M) 2.0, including an update to Mbed TLS 3.5.2. 23 * Over 30 new supported boards, spanning all Zephyr-supported architectures. 37 * CVE-2023-5779 `Zephyr project bug tracker GHSA-7cmj-963q-jj47 38 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-7cmj-963q-jj47>`_ 40 * CVE-2023-6249 `Zephyr project bug tracker GHSA-32f5-3p9h-2rqc 41 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-32f5-3p9h-2rqc>`_ 43 * CVE-2023-6749 `Zephyr project bug tracker GHSA-757h-rw37-66hw 44 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-757h-rw37-66hw>`_ [all …]
|
D | release-notes-2.2.rst | 18 * Fix CVE-2020-10028 19 * Fix CVE-2020-10060 20 * Fix CVE-2020-10063 21 * Fix CVE-2020-10066 32 * :github:`23494` - Bluetooth: LL/PAC/SLA/BV-01-C fails if Slave-initiated Feature Exchange is disa… 33 * :github:`23485` - BT: host: Service Change indication sent regardless of whether it is needed or … 34 * :github:`23482` - 2M PHY + DLE and timing calculations on an encrypted link are wrong 35 * :github:`23070` - Bluetooth: controller: Fix ticker implementation to avoid catch up 36 * :github:`22967` - Bluetooth: controller: ASSERTION FAIL on invalid packet sequence 37 * :github:`24183` - [v2.2] Bluetooth: controller: split: Regression slave latency during connection… [all …]
|
D | release-notes-3.1.rst | 29 must set the :c:member:`chan_opt` field on the GATT parameter structs. 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 133 * PWM 135 * The ``pin`` prefix has been removed from all PWM API calls. So for example, 138 * PWM periods are now always set in nanoseconds, so ``_nsec`` and ``_usec`` 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. [all …]
|
/Zephyr-latest/drivers/led/ |
D | lp5562.c | 4 * SPDX-License-Identifier: Apache-2.0 13 * The LP5562 is a 4-channel LED driver that communicates over I2C. The four 18 * register that drives the PWM of the connected LED. 23 * - Set the brightness. 24 * - Fade the brightness over time. 25 * - Loop parts of the program or the whole program. 26 * - Add delays. 27 * - Synchronize between the engines. 72 * therefore (16 * 63) = 1008ms. We round it down to 1000ms to be on the safe 101 /* Enable 558 Hz frequency for PWM. Default is 256. */ [all …]
|
/Zephyr-latest/dts/arm/nxp/ |
D | nxp_mcxn23x_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/dt-bindings/clock/mcux_lpc_syscon_clock.h> 9 #include <zephyr/dt-bindings/reset/nxp_syscon_reset_common.h> 10 #include <zephyr/dt-bindings/gpio/gpio.h> 11 #include <arm/armv8-m.dtsi> 12 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-m33f"; 22 #address-cells = <1>; [all …]
|
12