Searched +full:spi +full:- +full:one +full:- +full:frame (Results 1 – 25 of 76) sorted by relevance
1234
/Zephyr-latest/dts/bindings/led_strip/ |
D | worldsemi,ws2812-spi.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Worldsemi WS2812 LED strip, SPI binding 8 strip with a SPI master. 10 The SPI driver should be usable as long as a zephyr SPI API driver 14 - spi-max-frequency 15 - spi-zero-frame 16 - spi-one-frame. 21 compatible: "worldsemi,ws2812-spi" 23 include: [spi-device.yaml, ws2812.yaml] 27 spi-one-frame: [all …]
|
/Zephyr-latest/samples/drivers/led/led_strip/boards/ |
D | nucleo_g071rb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <4000000>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 19 chain-length = <16>; /* arbitrary; change at will */ 20 spi-one-frame = <0x70>; 21 spi-zero-frame = <0x40>; [all …]
|
D | nucleo_h743zi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <DT_FREQ_M(4)>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 19 chain-length = <16>; /* arbitrary; change at will */ 20 spi-one-frame = <0x70>; 21 spi-zero-frame = <0x40>; [all …]
|
D | nucleo_l476rg.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <4000000>; 16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 19 chain-length = <16>; /* arbitrary; change at will */ 20 spi-one-frame = <0x70>; 21 spi-zero-frame = <0x40>; [all …]
|
D | nucleo_f070rb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 9 #include "../f070rb-bindings.h" 14 dma-names = "tx", "rx"; 17 compatible = "everlight,b1414", "worldsemi,ws2812-spi"; 19 /* SPI */ 20 reg = <0>; /* ignored, but necessary for SPI bindings */ 21 spi-max-frequency = <B1414_SPI_FREQ>; 22 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */ 25 chain-length = <18>; /* arbitrary; change at will */ [all …]
|
D | mimxrt1050_evk_mimxrt1052_hyperflash.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <6400000>; 18 chain-length = <2>; /* arbitrary; change at will */ 19 spi-cpha; 20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */ [all …]
|
D | mimxrt1050_evk_qspi.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 compatible = "worldsemi,ws2812-spi"; 13 /* SPI */ 14 reg = <0>; /* ignored, but necessary for SPI bindings */ 15 spi-max-frequency = <6400000>; 18 chain-length = <2>; /* arbitrary; change at will */ 19 spi-cpha; 20 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ 21 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */ [all …]
|
D | nrf52dk_nrf52832.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 9 #include "../nrf52-bindings.h" 12 compatible = "nordic,nrf-spim"; 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <SPI_FREQ>; 21 chain-length = <16>; /* arbitrary; change at will */ 22 color-mapping = <LED_COLOR_ID_GREEN [all …]
|
D | esp32c3_devkitm.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 line-idle-low; 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 21 chain-length = <1>; /* arbitrary; change at will */ 22 spi-cpha; 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ [all …]
|
D | esp32s2_saola.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 line-idle-low; 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 21 chain-length = <1>; /* arbitrary; change at will */ 22 spi-cpha; 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ [all …]
|
D | esp32s3_devkitm_procpu.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/led/led.h> 11 line-idle-low; 14 compatible = "worldsemi,ws2812-spi"; 16 /* SPI */ 17 reg = <0>; /* ignored, but necessary for SPI bindings */ 18 spi-max-frequency = <6400000>; 21 chain-length = <1>; /* arbitrary; change at will */ 22 spi-cpha; 23 spi-one-frame = <0xf0>; /* 11110000: 625 ns high and 625 ns low */ [all …]
|
/Zephyr-latest/include/zephyr/dt-bindings/spi/ |
D | spi.h | 4 * SPDX-License-Identifier: Apache-2.0 10 * @brief SPI Interface 11 * @defgroup spi_interface SPI Interface 17 * @name SPI duplex mode 20 * Some controllers support half duplex transfer, which results in 3-wire usage. 28 * @name SPI Frame Format 31 * 2 frame formats are exposed: Motorola and TI. 33 * active the whole transfer. In TI, it's active only one serial clock period 36 * By default, as it is the most commonly used, the Motorola frame format
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_spi.c | 6 * SPDX-License-Identifier: Apache-2.0 21 #include <zephyr/drivers/spi.h> 24 #include <zephyr/dt-bindings/led/led.h> 26 /* spi-one-frame and spi-zero-frame in DT are for 8-bit frames. */ 30 * SPI master configuration: 32 * - mode 0 (the default), 8 bit, MSB first (arbitrary), one-line SPI 33 * - no shenanigans (don't hold CS, don't hold the device lock, this 52 return dev->config; in dev_cfg() 56 * Serialize an 8-bit color channel value into an equivalent sequence 57 * of SPI frames, MSbit first, where a one bit becomes SPI frame [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | ftdi,ft800.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: spi-device.yaml 11 irq-gpios: 12 type: phandle-array 28 the rising edge. If it is set to one, PCLK polarity is on 52 description: Number of visible lines of pixels in one frame 57 description: Number of invisible lines at the beginning of a new frame 63 Number of all lines in a frame. It includes all visible and 64 invisible lines at the beginning and at the end of a frame. 71 the start of new frame. [all …]
|
/Zephyr-latest/tests/drivers/build_all/led_strip/ |
D | app.overlay | 5 * SPDX-License-Identifier: Apache-2.0 10 * with real-world devicetree nodes, to allow these tests to run on 15 #include <zephyr/dt-bindings/led/led.h> 19 #address-cells = <1>; 20 #size-cells = <1>; 24 gpio-controller; 26 #gpio-cells = <0x2>; 30 test_spi: spi@33334444 { 31 #address-cells = <1>; 32 #size-cells = <0>; [all …]
|
/Zephyr-latest/boards/espressif/esp32c3_rust/ |
D | esp32c3_rust.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "esp32c3_rust-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <zephyr/dt-bindings/led/led.h> 16 model = "Espressif ESP32C3-RUST"; 22 zephyr,shell-uart = &usb_serial; 24 zephyr,code-partition = &slot0_partition; 30 i2c-0 = &i2c0; 32 led-strip = &led_strip; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_atoms3_lite/ |
D | m5stack_atoms3_lite_procpu.dts | 5 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "m5stack_atoms3_lite-pinctrl.dtsi" 11 #include <dt-bindings/led/led.h> 12 #include <dt-bindings/led/worldsemi_ws2812c.h> 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 23 zephyr,shell-uart = &usb_serial; 25 zephyr,code-partition = &slot0_partition; 26 zephyr,bt-hci = &esp32_bt_hci; 32 i2c-0 = &i2c0; [all …]
|
/Zephyr-latest/boards/adafruit/qt_py_esp32s3/ |
D | adafruit_qt_py_esp32s3_procpu.dts | 5 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include <zephyr/dt-bindings/led/led.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 13 #include "adafruit_qt_py_esp32s3-pinctrl.dtsi" 19 compatible = "seeed,xiao-esp32s3"; 24 zephyr,shell-uart = &usb_serial; 26 zephyr,code-partition = &slot0_partition; 27 zephyr,bt-hci = &esp32_bt_hci; 31 i2c-0 = &i2c0; [all …]
|
/Zephyr-latest/boards/vcc-gnd/yd_esp32/ |
D | yd_esp32_procpu.dts | 2 * SPDX-License-Identifier: Apache-2.0 4 /dts-v1/; 7 #include <zephyr/dt-bindings/led/led.h> 8 #include "yd_esp32-pinctrl.dtsi" 9 #include <zephyr/dt-bindings/input/input-event-codes.h> 13 model = "VCC-GND Studio YD-ESP32 PROCPU"; 17 uart-0 = &uart0; 18 i2c-0 = &i2c0; 21 led-strip = &rgb_led; 25 compatible = "gpio-keys"; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_atom_lite/ |
D | m5stack_atom_lite_procpu.dts | 6 * SPDX-License-Identifier: Apache-2.0 8 /dts-v1/; 11 #include "m5stack_atom_lite-pinctrl.dtsi" 13 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 #include <zephyr/dt-bindings/led/led.h> 15 #include <zephyr/dt-bindings/led/worldsemi_ws2812c.h> 20 compatible = "m5stack,m5stack-atom-lite"; 25 zephyr,shell-uart = &uart0; 27 zephyr,code-partition = &slot0_partition; 28 zephyr,bt-hci = &esp32_bt_hci; [all …]
|
/Zephyr-latest/boards/actinius/icarus_som_dk/ |
D | actinius_icarus_som_dk_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 6 #include "actinius_icarus_som_dk_common-pinctrl.dtsi" 7 #include <dt-bindings/led/led.h> 8 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 zephyr,shell-uart = &uart0; 17 zephyr,uart-mcumgr = &uart0; 21 compatible = "gpio-leds"; 30 compatible = "pwm-leds"; 39 compatible = "gpio-keys"; 50 pwm-led0 = &blue_pwm_led; [all …]
|
/Zephyr-latest/boards/m5stack/m5stack_stamps3/ |
D | m5stack_stamps3_procpu.dts | 4 * SPDX-License-Identifier: Apache-2.0 6 /dts-v1/; 9 #include "m5stack_stamps3-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/led/led.h> 13 #include <dt-bindings/led/worldsemi_ws2812c.h> 14 #include <zephyr/dt-bindings/input/input-event-codes.h> 24 zephyr,shell-uart = &usb_serial; 26 zephyr,code-partition = &slot0_partition; 27 zephyr,bt-hci = &esp32_bt_hci; [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/tests/drivers/build_all/display/ |
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 * with real-world devicetree nodes, to allow these tests to run on 13 #include <zephyr/dt-bindings/led/led.h> 14 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 23 gpio-controller; 25 #gpio-cells = <0x2>; 30 compatible = "zephyr,mipi-dbi-spi"; 32 dc-gpios = <&test_gpio 0 0>; [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | mipi_dbi.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public APIs for MIPI-DBI drivers 11 * MIPI-DBI defines the following 3 interfaces: 14 * Type C: SPI Type (1 bit bus) with 3 options: 25 * @brief MIPI-DBI driver APIs 26 * @defgroup mipi_dbi_interface MIPI-DBI driver APIs 36 #include <zephyr/drivers/spi.h> 37 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 44 * @brief initialize a MIPI DBI SPI configuration struct from devicetree 46 * This helper allows drivers to initialize a MIPI DBI SPI configuration [all …]
|
1234