|
FastLED 3.9.15
|
Universal edge timing representation (platform-agnostic)
Represents a single edge transition with duration in nanoseconds. RX devices convert their internal format (e.g., RMT ticks) to this universal format for debugging and analysis.
Memory layout: 32-bit packed bit field
Example sequence for WS2812B bit pattern:
#include <rx.h>
Public Member Functions | |
| constexpr | EdgeTime () FL_NOEXCEPT |
| Default constructor (low, 0ns) | |
| constexpr | EdgeTime (bool high_level, u32 ns_duration) FL_NOEXCEPT |
| Construct from high/low state and duration. | |
Public Attributes | |
| u32 | high: 1 |
| High/low level (1 bit: 1=high, 0=low) | |
| u32 | ns: 31 |
| Duration in nanoseconds (31 bits, max ~2.1s) | |