FastLED 3.9.15
Loading...
Searching...
No Matches

◆ get_bit_period_ns()

u32 fl::get_bit_period_ns ( const ChipsetTiming & timing)
constexpr

Get total bit period (T1 + T2 + T3) in nanoseconds.

Parameters
timingChipset timing structure
Returns
Total bit period in nanoseconds

Definition at line 528 of file led_timing.h.

528 {
529 return timing.T1 + timing.T2 + timing.T3;
530}
u32 T2
Additional high time for bit 1 (nanoseconds)
Definition led_timing.h:88
u32 T3
Low tail duration (nanoseconds)
Definition led_timing.h:89
u32 T1
High time for bit 0 (nanoseconds)
Definition led_timing.h:87

References FL_NOEXCEPT.