Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
3.7.0
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
worldsemi_ws2812c.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Martin Kiepfer <mrmarteng@teleschirm.org>
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_DT_LED_WS2812C_H_
8
#define ZEPHYR_DT_LED_WS2812C_H_
9
10
/*
11
* At 7 MHz: 1 bit in 142.86 ns
12
* 1090 ns -> 7.6 bits
13
* 300 ns -> 2.1 bits
14
* 790 ns -> 5.5 bits
15
*/
16
#define WS2812C_SPI_FREQ (7000000U)
17
#define WS2812C_ZERO_FRAME (0xC0U)
18
#define WS2812C_ONE_FRAME (0xFCU)
19
20
#endif
zephyr
dt-bindings
led
worldsemi_ws2812c.h
Generated on Fri Jul 26 2024 14:01:57 for Zephyr API Documentation by
1.9.6