FastLED 3.10.6
Loading...
Searching...
No Matches

◆ computeBaudRate()

static u32 fl::Wave10Lut::computeBaudRate ( const ChipsetTimingConfig & timing)
inlinestatic

Legacy fixed-wave10 baud computation (P = 5)

Deprecated
Prefer the instance baudRate() which respects the selected geometry.

Definition at line 98 of file uart_wave_encoder.h.

98 {
99 const u32 period_ns = timing.total_period_ns();
100 if (period_ns == 0) return 0;
101 return static_cast<u32>(5000000000ULL / period_ns);
102 }

References fl::FL_NO_EXCEPT.