|
FastLED 3.9.15
|
| LIB8STATIC u16 fl::div1024_32_16 | ( | u32 | in32 | ) |
Helper routine to divide a 32-bit value by 1024, returning only the low 16 bits.
On AVR, uses optimized assembly (6 shifts vs 40). Used to convert millis to "binary seconds" (1 bsecond == 1024 millis).
Definition at line 45 of file time_functions.h.
References FL_NOEXCEPT, and LIB8STATIC.
Referenced by bseconds16().
Here is the caller graph for this function: