-struct lx_timer_context {
- struct lx_timer *active_timers;
- uint32_t base_frequency;
- uint32_t running_frequency;
- uint32_t tick_interval;
+struct lx_timer_context
+{
+ struct lx_timer* active_timers;
+ /**
+ * @brief timer hardware base frequency (ticks per seconds)
+ *
+ */
+ ticks_t base_frequency;
+ /**
+ * @brief Desired system running frequency
+ *
+ */
+ ticks_t running_frequency;
+ /**
+ * @brief Ticks per hertz
+ *
+ */
+ ticks_t tphz;