|
WS2812_RMT Driver 0.1.0
API reference
|
The wire timing of one window set. More...
#include <ws2812_rmt_types.hpp>
Public Attributes | |
| Range | t0h {} |
| 0 code, high time. | |
| Range | t0l {} |
| 0 code, low time. | |
| Range | t1h {} |
| 1 code, high time. | |
| Range | t1l {} |
| 1 code, low time. | |
| uint32_t | period_min_ns {0} |
| Shortest bit period (high plus low); 0 none. | |
| uint32_t | period_max_ns {0} |
| Longest bit period; 0 none. | |
| uint32_t | reset_min_ns {0} |
| The low time that must be exceeded to latch. | |
| uint32_t | max_low_ns {0} |
The low time that must stay below inside a frame; 0 = reset_min_ns. | |
Friends | |
| constexpr bool | operator== (const Timing &lhs, const Timing &rhs) noexcept=default |
| Hidden friend: exact member comparison. | |
The wire timing of one window set.
A bit is a high of t0h or t1h followed by a low of t0l or t1l. Windows and the period minimum are inclusive; the reset is strictly above reset_min_ns (docs/timing.md, ambiguity A-4).