Home
last modified time | relevance | path

Searched +full:lrck +full:- +full:period (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-i2s.yaml2 # SPDX-License-Identifier: Apache-2.0
10 compatible: "worldsemi,ws2812-i2s"
12 include: [i2s-device.yaml, ws2812.yaml]
16 out-active-low:
20 nibble-one:
23 description: 4-bit value to shift out for a 1 pulse.
25 nibble-zero:
28 description: 4-bit value to shift out for a 0 pulse.
30 lrck-period:
33 description: LRCK (left/right clock) period in microseconds.
[all …]
/Zephyr-latest/drivers/led_strip/
Dws2812_i2s.c5 * https://electronut.in/nrf52-i2s-ws2812/
7 * Note: the word "word" refers to a 32-bit integer unless otherwise stated.
9 * WS/LRCK frequency:
11 * The I2S peripheral sends two 16-bit channel values for each clock period.
12 * A single LED color (8 data bits) will take up one 32-bit word or one LRCK
13 * period. This means a standard RGB led will take 3 LRCK periods to transmit.
15 * SPDX-License-Identifier: Apache-2.0
28 #include <zephyr/dt-bindings/led/led.h>
49 /* Serialize an 8-bit color channel value into two 16-bit I2S values (or 1 32-bit
68 const struct ws2812_i2s_cfg *cfg = dev->config; in ws2812_strip_update_rgb()
[all …]