FastLED 3.10.6
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 623 of file led_timing.h.

623 {
624 return timing.T1 + timing.T2 + timing.T3;
625}
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_NO_EXCEPT.