Create Tickstamp from minutes at compile time (dual-frequency).
- Template Parameters
-
| Minutes | Time value in minutes as float template parameter |
- Returns
- const reference to the appropriate Tickstamp for current frequency
Calculates two complete Tickstamps at compile time (26MHz and 28MHz), stores them in static constexpr variables, then returns a reference to the correct one at runtime.
- Example:
Fxp mins = fiveMins.ToMinutes();
static const Tickstamp & FromMinutes()
Create Tickstamp from minutes at compile time (dual-frequency).
Definition srl_timer.hpp:339