Home
last modified time | relevance | path

Searched +full:spi +full:- +full:zero +full:- +full:frame (Results 1 – 25 of 53) sorted by relevance

123

/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-spi.yaml2 # 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/
Dnucleo_g071rb.overlay4 * 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 …]
Dnucleo_h743zi.overlay4 * 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 …]
Dnucleo_l476rg.overlay4 * 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 …]
Dnucleo_f070rb.overlay4 * 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 …]
Dmimxrt1050_evk_mimxrt1052_hyperflash.overlay4 * 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 …]
Dmimxrt1050_evk_qspi.overlay4 * 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 …]
Dnrf52dk_nrf52832.overlay4 * 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 …]
Desp32c3_devkitm.overlay4 * 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 …]
Desp32s2_saola.overlay4 * 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 …]
Desp32s3_devkitm_procpu.overlay4 * 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/drivers/led_strip/
Dws2812_spi.c6 * 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/tests/drivers/build_all/led_strip/
Dapp.overlay5 * 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/dts/bindings/display/
Dftdi,ft800.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 irq-gpios:
12 type: phandle-array
27 Polarity of PCLK. If it is set to zero, 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/boards/espressif/esp32c3_rust/
Desp32c3_rust.dts4 * 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/
Dm5stack_atoms3_lite_procpu.dts5 * 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/
Dadafruit_qt_py_esp32s3_procpu.dts5 * 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/
Dyd_esp32_procpu.dts2 * 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/drivers/ethernet/
Deth_adin2111_priv.h4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/drivers/spi.h>
17 /* SPI frequency maximum, based on clock cycle time */
34 /* Transmit Frame Check Sequence Validation Enable */
36 /* Zero Align Receive Frame Enable */
42 /* Receive Cut Through Enable. Must be 0 for Generic SPI */
83 /* Frame transmitted */
105 /*!< Mask Bit for P2_RX_RDY. Generic SPI only.*/
107 /*!< Mask Bit for SPI_ERR. Generic SPI only. */
109 /*!< Mask Bit for P1_RX_RDY. Generic SPI only.*/
[all …]
/Zephyr-latest/boards/m5stack/m5stack_atom_lite/
Dm5stack_atom_lite_procpu.dts6 * 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/
Dactinius_icarus_som_dk_common.dtsi4 * 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/
Dm5stack_stamps3_procpu.dts4 * 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/
Dlegend.dts4 * 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/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi.h4 * SPDX-License-Identifier: Apache-2.0
13 * Byte codes returned by EC over SPI interface.
20 * 1. - - AP asserts chip select (CS#)
21 * 2. EC_SHI_OLD_READY - AP sends first byte(s) of request
22 * 3. - - EC starts handling CS# interrupt
23 * 4. EC_SHI_RECEIVING - AP sends remaining byte(s) of request
24 * 5. EC_SHI_PROCESSING - EC starts processing request; AP is clocking in
26 * 6. - - EC finishes processing and sets up response
27 * 7. EC_SHI_FRAME_START - AP reads frame byte
28 * 8. (response packet) - AP reads response packet
[all …]
/Zephyr-latest/tests/drivers/build_all/display/
Dapp.overlay4 * 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 …]

123