Home
last modified time | relevance | path

Searched +full:chain +full:- +full:length (Results 1 – 25 of 64) sorted by relevance

123

/Zephyr-Core-3.5.0/dts/bindings/led_strip/
Dti,tlc5971.yaml2 # SPDX-License-Identifier: Apache-2.0
8 tree node. Length of daisy chains in pixels is defined by the chain-length
12 using the color-mapping property.
20 spi-max-frequency = <DT_FREQ_M(1)>;
22 chain-length = <24>;
23 color-mapping = <LED_COLOR_ID_BLUE>,
31 include: spi-device.yaml
34 chain-length:
38 The number of RGB LEDs in the daisy-chain.
41 color-mapping:
[all …]
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/
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 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.
38 chain-length:
42 The number of devices in the daisy-chain.
44 color-mapping:
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/adv/chain/
Dprj.conf12 # Zephyr Bluetooth LE Controller will need to use chain PDUs when AD data
13 # length > 191 bytes
14 # - 31 bytes will use 22 bytes for the default name in this sample plus 9 bytes
16 # - 191 bytes will use 22 bytes for the default name in this sample plus 169
18 # - 277 bytes will use 22 bytes for the default name in this sample plus 255
23 # number of chain PDUs per advertising set when using Zephyr Bluetooth LE
30 # Set maximum scan data length for Extended Scanning in Bluetooth LE Controller
38 # Increase Zephyr Bluetooth LE Controller Rx buffer to receive complete chain
/Zephyr-Core-3.5.0/samples/bluetooth/broadcaster_multiple/
Dprj.conf9 # Zephyr Bluetooth LE Controller will need to use chain PDUs when AD data
10 # length > 191 bytes
11 # - 31 bytes will use 22 bytes for the default name in this sample plus 9 bytes
13 # - 191 bytes will use 22 bytes for the default name in this sample plus 169
15 # - 277 bytes will use 22 bytes for the default name in this sample plus 255
20 # number of chain PDUs per advertising set when using Zephyr Bluetooth LE
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_chains/src/
Dcommon.c4 * SPDX-License-Identifier: Apache-2.0
83 adv_set->lll.sync = &g_sync_set.lll; in common_create_adv_set()
84 lll_hdr_init(&adv_set->lll, adv_set); in common_create_adv_set()
85 g_sync_set.lll.adv = &adv_set->lll; in common_create_adv_set()
94 lll_adv_data_reset(&lll_sync->data); in common_create_adv_set()
95 err = lll_adv_data_init(&lll_sync->data); in common_create_adv_set()
99 adv_set->is_created = 1U; in common_create_adv_set()
113 if (adv_set->lll.sync) { in common_release_adv_set()
114 sync = HDR_LLL2ULL(adv_set->lll.sync); in common_release_adv_set()
116 sync->is_started = 0U; in common_release_adv_set()
[all …]
Dtest_add_cte_to_chain.c4 * SPDX-License-Identifier: Apache-2.0
46 /* It does not matter for purpose of this tests what is the type or length of CTE used. */
65 "Unexpected error while enabling CTE for periodic advertising chain, err: %d", in ZTEST()
82 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
91 "Unexpected error while enabling CTE for periodic advertising chain, err: %d", in ZTEST()
108 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
117 "Unexpected error while enabling CTE for periodic advertising chain, err: %d", in ZTEST()
136 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
142 pdu_new = lll_adv_sync_data_latest_get(adv->lll.sync, NULL, &upd); in ZTEST()
146 pdu_prev = lll_adv_sync_data_peek(adv->lll.sync, NULL); in ZTEST()
[all …]
Dtest_remove_cte_from_chain.c4 * SPDX-License-Identifier: Apache-2.0
45 #define TEST_PER_ADV_CHAIN_DECREASED_LENGTH (TEST_CTE_COUNT - 1)
48 /* It does not matter for purpose of this tests what is the type or length of CTE used. */
68 "Unexpected error while disabling CTE for periodic advertising chain, err: %d", in ZTEST()
84 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
92 "Unexpected error while enabling CTE for periodic advertising chain, err: %d", in ZTEST()
97 "Unexpected error while disabling CTE for periodic advertising chain, err: %d", in ZTEST()
113 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
123 "Unexpected error while disabling CTE for periodic advertising chain, err: %d", in ZTEST()
139 /* Use the same number for PDUs in a chain as for CTE request */ in ZTEST()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/
Dull_adv_aux.c2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
97 (void)memcpy(adv->rnd_addr, addr, BDADDR_SIZE); in ll_adv_aux_random_addr_set()
130 if (adv->is_enabled && (op <= BT_HCI_LE_EXT_ADV_OP_LAST_FRAG)) { in ll_adv_aux_ad_data_set()
135 if (adv->is_ad_data_cmplt && in ll_adv_aux_ad_data_set()
142 if (!adv->is_ad_data_cmplt && in ll_adv_aux_ad_data_set()
147 /* Reject len > 191 bytes if chain PDUs unsupported */ in ll_adv_aux_ad_data_set()
154 /* Use length = 0 and NULL pointer to retain old data in the PDU. in ll_adv_aux_ad_data_set()
155 * Use length = 0 and valid pointer of `data` (auto/local variable) to in ll_adv_aux_ad_data_set()
157 * User length > 0 and valid pointer of `data` (auto/local variable) to in ll_adv_aux_ad_data_set()
[all …]
Dull_adv_sync.c2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
108 lll_sync = adv->lll.sync; in ll_adv_sync_param_set()
119 lll = &adv->lll; in ll_adv_sync_param_set()
120 lll_sync = &sync->lll; in ll_adv_sync_param_set()
121 lll->sync = lll_sync; in ll_adv_sync_param_set()
122 lll_sync->adv = lll; in ll_adv_sync_param_set()
124 lll_adv_data_reset(&lll_sync->data); in ll_adv_sync_param_set()
125 err = lll_adv_sync_data_init(&lll_sync->data); in ll_adv_sync_param_set()
130 /* NOTE: ull_hdr_init(&sync->ull); is done on start */ in ll_adv_sync_param_set()
[all …]
/Zephyr-Core-3.5.0/samples/drivers/led_ws2812/boards/
Dbbc_microbit.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
8 #include <zephyr/dt-bindings/led/led.h>
12 compatible = "worldsemi,ws2812-gpio";
14 chain-length = <16>; /* arbitrary; change at will */
15 color-mapping = <LED_COLOR_ID_GREEN
19 in-gpios = <&gpio0 3 0>;
23 led-strip = &led_strip;
Dnrf51dk_nrf51422.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/gpio/gpio.h>
8 #include <zephyr/dt-bindings/led/led.h>
12 compatible = "worldsemi,ws2812-gpio";
14 chain-length = <16>; /* arbitrary */
15 color-mapping = <LED_COLOR_ID_GREEN
22 in-gpios = <&gpio0 25 0>;
26 led-strip = &led_strip;
Dnucleo_g071rb.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
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>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dnucleo_h743zi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
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>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dnucleo_l476rg.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
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>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
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";
18 spi-max-frequency = <SPI_FREQ>;
21 chain-length = <16>; /* arbitrary; change at will */
22 color-mapping = <LED_COLOR_ID_GREEN
25 spi-one-frame = <ONE_FRAME>;
26 spi-zero-frame = <ZERO_FRAME>;
[all …]
Dmimxrt1050_evk.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
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 */
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dmimxrt1050_evk_qspi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
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 */
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dthingy52_nrf52832.overlay1 #include <zephyr/dt-bindings/led/led.h>
4 * - M1.S connected to GND
5 * - SDOUT connected to M1.D
6 * - ~300 ohm resistor between M1.D and TP5 (5V / Vbus)
22 pinctrl-0 = <&i2s0_default_alt>;
23 pinctrl-names = "default";
28 compatible = "worldsemi,ws2812-i2s";
30 i2s-dev = < &i2s_led >;
31 chain-length = <10>; /* arbitrary; change at will */
32 color-mapping = <LED_COLOR_ID_GREEN
[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";
21 spi-max-frequency = <B1414_SPI_FREQ>;
22 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
25 chain-length = <18>; /* arbitrary; change at will */
26 spi-one-frame = <B1414_ONE_FRAME>;
27 spi-zero-frame = <B1414_ZERO_FRAME>;
[all …]
Desp32s3_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";
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 */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 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";
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 */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 color-mapping = <LED_COLOR_ID_GREEN
[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";
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 */
24 spi-zero-frame = <0xc0>; /* 11000000: 312.5 ns high and 937.5 ns low */
25 color-mapping = <LED_COLOR_ID_GREEN
[all …]
/Zephyr-Core-3.5.0/boards/arm/legend/
Dlegend_25ssd.overlay4 * SPDX-License-Identifier: Apache-2.0
12 led-strip = &led_strip_spi;
17 clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
30 clock-frequency = <DT_FREQ_M(48)>;
31 ahb-prescaler = <1>;
32 apb1-prescaler = <1>;
36 chain-length = <4>;
Dlegend_25hdd.overlay4 * SPDX-License-Identifier: Apache-2.0
12 pwm-led0 = &pwm_led0;
13 led-strip = &led_strip_spi;
17 compatible = "pwm-leds";
40 clock-frequency = <DT_FREQ_M(48)>;
41 ahb-prescaler = <1>;
42 apb1-prescaler = <1>;
46 chain-length = <6>;
Dlegend_35.overlay4 * SPDX-License-Identifier: Apache-2.0
12 pwm-led0 = &pwm_led0;
13 led-strip = &led_strip_spi;
17 compatible = "pwm-leds";
28 clock-frequency = <DT_FREQ_M(24)>; /* 24MHz external clock */
41 clock-frequency = <DT_FREQ_M(48)>;
42 ahb-prescaler = <1>;
43 apb1-prescaler = <1>;
47 chain-length = <12>;

123