FastLED 3.9.15
Loading...
Searching...
No Matches
decode_ws2812.h
Go to the documentation of this file.
1
32
33#pragma once
34
35#include "fl/channels/rx.h"
36#include "fl/stl/noexcept.h"
37#include "fl/stl/result.h"
38#include "fl/stl/span.h"
39#include "fl/stl/stdint.h"
40
41namespace fl {
42namespace channels {
43namespace rx {
44
56decodeWs2812Edges(const ChipsetTiming4Phase& timing,
57 fl::span<const EdgeTime> edges,
58 fl::span<u8> out) FL_NOEXCEPT;
59
60} // namespace rx
61} // namespace channels
62} // namespace fl
fl::result< u32, DecodeError > decodeWs2812Edges(const ChipsetTiming4Phase &timing, fl::span< const EdgeTime > edges, fl::span< u8 > out) FL_NOEXCEPT
Decode a WS2812 edge-pair stream into bytes.
expected< T, E > result
Alias for expected (Rust-style naming)
Definition result.h:31
Base definition for an LED controller.
Definition crgb.hpp:179
result<T, E> type alias for fl::expected (Rust-style naming)
Common RX interfaces and shared types.
#define FL_NOEXCEPT